we don't want to run _dispose twice on the scheduler, do we?

Original commit message from CVS:
we don't want to run _dispose twice on the scheduler, do we?
This commit is contained in:
Benjamin Otte 2002-03-17 00:41:46 +00:00
parent fcb0725892
commit cd9f4cb49b

View file

@ -170,7 +170,6 @@ gst_thread_dispose (GObject *object)
G_OBJECT_CLASS (parent_class)->dispose (object); G_OBJECT_CLASS (parent_class)->dispose (object);
if (GST_ELEMENT_SCHED (thread)) { if (GST_ELEMENT_SCHED (thread)) {
gst_object_destroy (GST_OBJECT (GST_ELEMENT_SCHED (thread)));
gst_object_unref (GST_OBJECT (GST_ELEMENT_SCHED (thread))); gst_object_unref (GST_OBJECT (GST_ELEMENT_SCHED (thread)));
} }
} }