mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
check: Call gst_deinit() at exit of all processes
This commit is contained in:
parent
a4f2720be4
commit
3c4873458e
1 changed files with 4 additions and 0 deletions
|
@ -124,6 +124,10 @@ gst_check_init (int *argc, char **argv[])
|
|||
|
||||
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"))
|
||||
_gst_check_debug = TRUE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue