validate: Don't clear global mutex

gst_validate_deinit() may be called multiple times and expects the
mutex to still be valid.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5539>
This commit is contained in:
Doug Nazar 2021-05-17 18:16:02 -04:00 committed by GStreamer Marge Bot
parent aee8ac1942
commit bac8a74f04

View file

@ -524,7 +524,6 @@ gst_validate_deinit (void)
gst_validate_report_deinit ();
g_mutex_unlock (&_gst_validate_registry_mutex);
g_mutex_clear (&_gst_validate_registry_mutex);
}
gboolean