mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
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:
parent
a78199ae5e
commit
ffca244c26
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue