Skip to content

fix for memory leak #77

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 1 commit into from
Aug 12, 2019
Merged

fix for memory leak #77

merged 1 commit into from
Aug 12, 2019

Conversation

rohansohonee
Copy link
Contributor

Hi @ryanheise,

I have made minor changes by wrapping the Scaffold with WillPopScope, to disconnect from the AudioService when user presses the back button.
This change thus fixes the ServiceConnection leak issue that I had raised earlier.

Thanking You,
Rohan Sohonee

@ryanheise
Copy link
Owner

Thanks! I've merged it.

I may eventually make a widget to wrap all of this connecting/disconnecting behaviour since it's demonstrably tricky to cover all cases.

@rohansohonee
Copy link
Contributor Author

Awesome!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants