You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
I have the mediaelement working on windows to play my video.
But when i navigate back and, as per the documentation, try to release the resources by calling MyMediaElement.Handler?.DisconnectHandler();
during unload. It crashes with a Catastrophic Failure Exception.
I found multiple issues reporting this problem (like this one: CommunityToolkit/Maui#962), but all issues seem to have been closed as in "fixed". So I don't understand why I'm still seeing this behaviour with the latest version.
Or maybe the documentation is outdated and we no longer need to call the DisconnectHandler method??
Description
I have the mediaelement working on windows to play my video.
But when i navigate back and, as per the documentation, try to release the resources by calling
MyMediaElement.Handler?.DisconnectHandler();
during unload. It crashes with a Catastrophic Failure Exception.
I found multiple issues reporting this problem (like this one: CommunityToolkit/Maui#962), but all issues seem to have been closed as in "fixed". So I don't understand why I'm still seeing this behaviour with the latest version.
Or maybe the documentation is outdated and we no longer need to call the DisconnectHandler method??
I'm using
Stack Trace
Link to Reproduction Sample
a reproduction sample is here: https://github.com/sjorsmiltenburg/maui_bugs
if you press the button Bug5 you will see the crash on windows
Steps to Reproduce
Expected Behavior
no crash
Actual Behavior
crash
Basic Information
Workaround
Don't call MyMediaElement.Handler?.DisconnectHandler();
Reproduction imagery
The text was updated successfully, but these errors were encountered: