1
0
Fork 0

backends/backend: Clear egl object if any

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3788>
This commit is contained in:
Marco Trevisan (Treviño) 2024-05-30 17:19:45 +02:00 committed by Marge Bot
parent de8691c7ff
commit b630c3baa6

View file

@ -252,6 +252,9 @@ meta_backend_dispose (GObject *object)
g_clear_pointer (&priv->stage, clutter_actor_destroy); g_clear_pointer (&priv->stage, clutter_actor_destroy);
g_clear_pointer (&priv->idle_manager, meta_idle_manager_free); g_clear_pointer (&priv->idle_manager, meta_idle_manager_free);
g_clear_object (&priv->renderer); g_clear_object (&priv->renderer);
#ifdef HAVE_EGL
g_clear_object (&priv->egl);
#endif
g_clear_pointer (&priv->clutter_context, clutter_context_destroy); g_clear_pointer (&priv->clutter_context, clutter_context_destroy);
g_clear_list (&priv->gpus, g_object_unref); g_clear_list (&priv->gpus, g_object_unref);