mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
wlwindow: clear configure mutex and cond when finalize
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6722>
This commit is contained in:
parent
5d705ed923
commit
560dc511f7
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