Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Fixed: Race condition on dispose that triggers AccessViolationException and kills the process #20

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

miroslav22
Copy link

Only happens rarely, but there is a race condition on dispose that can trigger an AccessViolationException and kill the process. If the event process loop loops back around after Destroy() is called, but before the _disposed flag is set then the subsequent call to mpv_wait_event will kill the process

…ilable and looped forever Processing "None" events, saturating a CPU core
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.

None yet

1 participant