Don't override Gst.Object.Dispose()
We can't call gst_object_unref() directly as this will conflict with the toggle-refs used in glib-sharp. It's also not required to call gst_object_unref(), it's just a wrapper around g_object_unref() with some debugging.
This commit is contained in:
parent
10b4f125d0
commit
9fd93f9feb
@ -4,10 +4,3 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override void Dispose() {
|
|
||||||
if(this.Handle != IntPtr.Zero) {
|
|
||||||
Gst.Object.Unref(this.Handle);
|
|
||||||
this.Raw = IntPtr.Zero;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user