Skip to content

fix(mock): close the opened channels to avoid goroutines leaked#515

Open
NefixEstrada wants to merge 1 commit into
rethinkdb:masterfrom
NefixEstrada:master
Open

fix(mock): close the opened channels to avoid goroutines leaked#515
NefixEstrada wants to merge 1 commit into
rethinkdb:masterfrom
NefixEstrada:master

Conversation

@NefixEstrada

Copy link
Copy Markdown

Reason for the change
Without this change, the mock didn't correctly close all its goroutines. They were killed by the process on the test end. This leaked. This issue also prevents the mock to be used with the "new" synctest package because of leaks. With the change everything works as expected

Description
This change closes correctly all the goroutines opened by the mock

Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant