backends/backend: Clear egl object if any
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3788>
This commit is contained in:
parent
de8691c7ff
commit
b630c3baa6
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue