Skip to content

Close EmbeddedChannel and release all buffers once test completes#12962

Merged
normanmaurer merged 1 commit into4.1from
leak_in_test
Nov 3, 2022
Merged

Close EmbeddedChannel and release all buffers once test completes#12962
normanmaurer merged 1 commit into4.1from
leak_in_test

Conversation

@normanmaurer
Copy link
Copy Markdown
Member

Motivation:

de8a7ef added some new tests but missed to close the EmbeddedChannel and release the still buffered data once done. This results in a leak.

Modifications:

Call finishAndReleaseAll() once test completes

Result:

No more leaks

Motivation:

de8a7ef added some new tests but missed to close the EmbeddedChannel and release the still buffered data once done. This results in a leak.

Modifications:

Call finishAndReleaseAll() once test completes

Result:

No more leaks
@normanmaurer
Copy link
Copy Markdown
Member Author

I noticed this while cherry-pick de8a7ef into main. There I already fixed it as part of the cherry-pick

@normanmaurer normanmaurer added this to the 4.1.85.Final milestone Nov 3, 2022
@normanmaurer normanmaurer merged commit a4c37bc into 4.1 Nov 3, 2022
@normanmaurer normanmaurer deleted the leak_in_test branch November 3, 2022 13:18
@chrisvest
Copy link
Copy Markdown
Member

Looks good 👍

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.

2 participants