tests: make sure the tasks are joined

Call _clean_all() on the task to make sure everything is joined and stopped.

See #589127
This commit is contained in:
Wim Taymans 2009-07-20 18:03:21 +02:00
parent a78199ae5e
commit ffca244c26

View file

@ -68,6 +68,8 @@ GST_START_TEST (test_join)
ret = gst_task_join (t);
fail_unless (ret == TRUE);
gst_task_cleanup_all ();
gst_object_unref (t);
}
@ -112,6 +114,8 @@ GST_START_TEST (test_lock_start)
ret = gst_task_join (t);
fail_unless (ret == TRUE);
gst_task_cleanup_all ();
gst_object_unref (t);
}