mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
wlwindow: clear configure mutex and cond when finalize
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6724>
This commit is contained in:
parent
8db552f404
commit
420e79e00b
1 changed files with 4 additions and 0 deletions
|
@ -196,6 +196,10 @@ gst_wl_window_finalize (GObject * gobject)
|
|||
gst_wl_display_callback_destroy (priv->display, &priv->frame_callback);
|
||||
gst_wl_display_callback_destroy (priv->display, &priv->commit_callback);
|
||||
|
||||
g_cond_clear (&priv->configure_cond);
|
||||
g_mutex_clear (&priv->configure_mutex);
|
||||
g_mutex_clear (&priv->window_lock);
|
||||
|
||||
if (priv->xdg_toplevel)
|
||||
xdg_toplevel_destroy (priv->xdg_toplevel);
|
||||
if (priv->xdg_surface)
|
||||
|
|
Loading…
Reference in a new issue