LibVLC ExitCallback not firing on master
Summary
The libvlc exit callback allows to run some arbitrary code on libvlc exit. This is not currently working on LVS master (dunno for 3.x).
Minimal project and steps to reproduce
Run SetExitHandler
unit test on master.
What is the current bug behavior?
Test pass.
What is the expected correct behavior?
The ExitCallback is never called.
Possible fixes
protected override void Dispose(bool disposing)
{
if (disposing)
{
UnsetDialogHandlers();
Native.LibVLCLogUnset(NativeReference);
+ //_gcHandle.Free();
+ //_exitCallback = null;
_log = null;
}
base.Dispose(disposing);
}