MPVSharp icon indicating copy to clipboard operation
MPVSharp copied to clipboard

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

Open miroslav22 opened this issue 1 year ago • 0 comments

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

miroslav22 avatar Jan 14 '24 01:01 miroslav22