mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
backend: Cleanup renderer on shutdown
This removes left-over views, and related resources. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1822>
This commit is contained in:
parent
abf2f17387
commit
c4a73e7950
@ -244,6 +244,7 @@ meta_backend_dispose (GObject *object)
|
|||||||
g_clear_pointer (&priv->default_seat, clutter_seat_destroy);
|
g_clear_pointer (&priv->default_seat, clutter_seat_destroy);
|
||||||
g_clear_pointer (&priv->stage, clutter_actor_destroy);
|
g_clear_pointer (&priv->stage, clutter_actor_destroy);
|
||||||
g_clear_pointer (&priv->clutter_backend, clutter_backend_destroy);
|
g_clear_pointer (&priv->clutter_backend, clutter_backend_destroy);
|
||||||
|
g_clear_object (&priv->renderer);
|
||||||
g_clear_list (&priv->gpus, g_object_unref);
|
g_clear_list (&priv->gpus, g_object_unref);
|
||||||
|
|
||||||
G_OBJECT_CLASS (meta_backend_parent_class)->dispose (object);
|
G_OBJECT_CLASS (meta_backend_parent_class)->dispose (object);
|
||||||
|
Loading…
Reference in New Issue
Block a user