backends/native/thread: Unref the callback sources hashtable on finalize
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3788>
(cherry picked from commit ce1dd40f7b
)
This commit is contained in:
parent
63ff9588a4
commit
f76591fd02
1 changed files with 1 additions and 0 deletions
|
@ -692,6 +692,7 @@ meta_thread_finalize (GObject *object)
|
|||
g_clear_pointer (&priv->name, g_free);
|
||||
|
||||
g_warn_if_fail (g_hash_table_size (priv->callback_sources) == 0);
|
||||
g_clear_pointer (&priv->callback_sources, g_hash_table_unref);
|
||||
g_mutex_clear (&priv->callbacks_mutex);
|
||||
|
||||
G_OBJECT_CLASS (meta_thread_parent_class)->finalize (object);
|
||||
|
|
Loading…
Reference in a new issue