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 dispose on MediaElement on Windows #1304

Merged
merged 3 commits into from
Jul 27, 2023
Merged

Conversation

pictos
Copy link
Member

@pictos pictos commented Jul 23, 2023

Description of Change

Added a handler to dispose of the PlatformView at the right moment.

Linked Issues

PR Checklist

Additional information

@pictos pictos requested a review from jfversluis July 23, 2023 23:56
@pictos pictos force-pushed the pj/fix-dispose-on-windows branch from 4047ab8 to a99fcf8 Compare July 23, 2023 23:58
@brminnick
Copy link
Collaborator

@pictos Are you able to reproduce #1245?

When I run the reproduction sample in #1245 and follow the steps to reproduce the issue, nothing happens.

@pictos
Copy link
Member Author

pictos commented Jul 27, 2023

@brminnick yes, I could reproduce the issue when I tried.

This fix was made by adding our source code to the provided sample, so with the changes on this PR, I couldn't reproduce the issue anymore.

@brminnick brminnick enabled auto-merge (squash) July 27, 2023 18:31
@brminnick brminnick merged commit bf69c6f into main Jul 27, 2023
8 checks passed
@brminnick brminnick deleted the pj/fix-dispose-on-windows branch July 27, 2023 18:31
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.

[BUG] Navigating back from MediaElement and calling DisconnectHandler results in crash
2 participants