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

chore: adding missing dispose #823

Merged
merged 7 commits into from
Jun 2, 2024

Conversation

abdelaziz-mahdy
Copy link
Member

thanks to #776 (comment) pointing out that we are missing some disposes, i added them to avoid memory leaks

also i moved the context lookup to didChangeDependencies to fix Looking up a deactivated widget's ancestor is unsafe.

the dispose is conditional to avoid wrong disposes when moving out of the fullscreen to normal player

Copy link
Contributor

@moffatman moffatman left a comment

Choose a reason for hiding this comment

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

LGTM

@abdelaziz-mahdy
Copy link
Member Author

The problem was the old context being referenced in that hash map. so will solve the conflict and then merge

@abdelaziz-mahdy abdelaziz-mahdy merged commit 359ca76 into media-kit:main Jun 2, 2024
19 checks passed
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.

None yet

2 participants