Commit 3c487345 authored by Jonas Holmberg's avatar Jonas Holmberg Committed by Tim-Philipp Müller

check: Call gst_deinit() at exit of all processes

parent a4f2720b
...@@ -124,6 +124,10 @@ gst_check_init (int *argc, char **argv[]) ...@@ -124,6 +124,10 @@ gst_check_init (int *argc, char **argv[])
GST_DEBUG_CATEGORY_INIT (check_debug, "check", 0, "check regression tests"); GST_DEBUG_CATEGORY_INIT (check_debug, "check", 0, "check regression tests");
if (atexit (gst_deinit) != 0) {
GST_ERROR ("failed to set gst_deinit as exit function");
}
if (g_getenv ("GST_TEST_DEBUG")) if (g_getenv ("GST_TEST_DEBUG"))
_gst_check_debug = TRUE; _gst_check_debug = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment