Skip to content

Release intercepted SafeCollector when onCompletion block is done #2323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 22, 2020

Conversation

qwwdfsad
Copy link
Member

Unfortunately, I wasn't able to find any meaningful scenario (=> write a test) when this actually leads to a memory leak for the existing set of API. But still, this is a time bomb waiting to explode

@qwwdfsad qwwdfsad requested a review from elizarov October 21, 2020 09:12
Copy link
Contributor

@elizarov elizarov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw, I've also added a test (fails without a fix), please check it out

Copy link
Contributor

@elizarov elizarov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 Good to go

@qwwdfsad qwwdfsad merged commit 6843648 into develop Oct 22, 2020
@qwwdfsad qwwdfsad deleted the on-completeion-release-intercepted branch October 22, 2020 11:09
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