From ffca244c262743ddf99fd06f66df979ba556f499 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 20 Jul 2009 18:03:21 +0200 Subject: [PATCH] tests: make sure the tasks are joined Call _clean_all() on the task to make sure everything is joined and stopped. See #589127 --- tests/check/gst/gsttask.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/check/gst/gsttask.c b/tests/check/gst/gsttask.c index da307cc..e7b169a 100644 --- a/tests/check/gst/gsttask.c +++ b/tests/check/gst/gsttask.c @@ -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); } -- 2.7.4