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
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: #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??
So I think we do have a bug that we're calling Dispose twice. However, if I change that to happen only once, still if I call Player.MediaPlayer.Dispose() that will always throw an exception and I'm not sure why...
The exception is related with the Frame navigation failure, So I don't think we are calling the Dispose method twice. I think the issue is that we dispose the FramewokElement (control in winUI) too son
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
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: #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
Expected Behavior
no crash on navigate back
Steps To Reproduce
a reproduction sample is here: https://github.com/sjorsmiltenburg/maui_bugs
Steps to Reproduce
Link to public reproduction project repository
https://github.com/sjorsmiltenburg/maui_bugs
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: