[mutter] backend: Cleanup renderer on shutdown
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] backend: Cleanup renderer on shutdown
- Date: Wed, 5 May 2021 20:26:21 +0000 (UTC)
commit c4a73e795020722eda3e2bec0c16d96f9f37333b
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Sat Apr 10 00:45:01 2021 +0200
backend: Cleanup renderer on shutdown
This removes left-over views, and related resources.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1822>
src/backends/meta-backend.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/backends/meta-backend.c b/src/backends/meta-backend.c
index e40452d030..ff84bfe6a9 100644
--- a/src/backends/meta-backend.c
+++ b/src/backends/meta-backend.c
@@ -244,6 +244,7 @@ meta_backend_dispose (GObject *object)
g_clear_pointer (&priv->default_seat, clutter_seat_destroy);
g_clear_pointer (&priv->stage, clutter_actor_destroy);
g_clear_pointer (&priv->clutter_backend, clutter_backend_destroy);
+ g_clear_object (&priv->renderer);
g_clear_list (&priv->gpus, g_object_unref);
G_OBJECT_CLASS (meta_backend_parent_class)->dispose (object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]