From 9fd93f9feb2caeec2b608814f34120618f60073b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 4 Apr 2009 14:31:25 +0200 Subject: [PATCH] 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. --- gstreamer-sharp/Object.custom | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gstreamer-sharp/Object.custom b/gstreamer-sharp/Object.custom index 940ee23ea1..ab8de1cf07 100644 --- a/gstreamer-sharp/Object.custom +++ b/gstreamer-sharp/Object.custom @@ -4,10 +4,3 @@ } - public override void Dispose() { - if(this.Handle != IntPtr.Zero) { - Gst.Object.Unref(this.Handle); - this.Raw = IntPtr.Zero; - } - } -