Commit 75238d2d authored by Martin Finkel's avatar Martin Finkel

Unset log file on Dispose

parent e4c4acc1
......@@ -289,7 +289,13 @@ namespace VideoLAN.LibVLC.Manual
version = version.Split('-', ' ')[0];
VLCVersion = new Version(version);
}
public override void Dispose()
{
UnsetLog();
base.Dispose();
}
public static bool operator ==(Instance obj1, Instance obj2)
{
return obj1?.NativeReference == obj2?.NativeReference;
......
......@@ -17,7 +17,7 @@ namespace VideoLAN.LibVLC.Manual
NativeReference = nativeRef;
}
public void Dispose()
public virtual void Dispose()
{
Release(NativeReference);
NativeReference = IntPtr.Zero;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment