validate: Reset mutex to NUL to allow re-init
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9118>
This commit is contained in:
parent
76fc1d0acf
commit
83be566ca7
@ -530,8 +530,10 @@ gst_validate_deinit (void)
|
||||
testfile_structs = NULL;
|
||||
g_clear_pointer (&global_testfile, g_free);
|
||||
|
||||
if (validate_initialized)
|
||||
if (validate_initialized) {
|
||||
g_rec_mutex_clear (&init_lock);
|
||||
memset (&init_lock, 0, sizeof (GRecMutex));
|
||||
}
|
||||
|
||||
_priv_validate_flow_deinit ();
|
||||
_priv_validate_override_registry_deinit ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user