mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
Clean to cothread context when destroyed
Original commit message from CVS: Clean to cothread context when destroyed
This commit is contained in:
parent
4771e9affc
commit
741051f00d
1 changed files with 7 additions and 0 deletions
|
@ -116,6 +116,13 @@ gst_basic_scheduler_init (GstScheduler *scheduler)
|
|||
static void
|
||||
gst_basic_scheduler_dispose (GObject *object)
|
||||
{
|
||||
GstScheduler *sched = GST_SCHEDULER (object);
|
||||
cothread_context *ctx;
|
||||
|
||||
ctx = GST_BIN (GST_SCHED_PARENT (sched))->threadcontext;
|
||||
|
||||
cothread_free (ctx);
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue