MPVSharp
MPVSharp copied to clipboard
Fixed: Race condition on dispose that triggers AccessViolationException and kills the process
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