Skip to content
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

Fix a memory leak in StreamNode. #5987

Merged
merged 2 commits into from
May 28, 2021

Conversation

ShadowsInRain
Copy link
Contributor

StreamNode forgot to store a subscription, causing a memory leak. The subscription member variable was defined and used, but never assigned to. That is it.

I had to skip unit tests, because Avalonia.LeakTests (if that's a right place) requires Resharper with a plugin, which I don't have.

Probably fix for #5872.

@kekekeks kekekeks requested a review from grokys May 28, 2021 15:37
Copy link
Member

@grokys grokys left a comment

Choose a reason for hiding this comment

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

LGTM, thanks a lot for finding and fixing this!

@grokys grokys enabled auto-merge May 28, 2021 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants