Skip to content

Commit 1a941ec

Browse files
authored
compositor: Fix possible crash when restarting Cinnamon (#655)
bottom_window_group is a child actor of the window_group, so the order likely matters here.
1 parent 8c1cb88 commit 1a941ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compositor/compositor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1380,10 +1380,10 @@ meta_compositor_dispose (GObject *object)
13801380
priv->top_window_actor);
13811381

13821382
g_clear_pointer (&priv->background_actor, clutter_actor_destroy);
1383+
g_clear_pointer (&priv->bottom_window_group, clutter_actor_destroy);
13831384
g_clear_pointer (&priv->desklet_container, clutter_actor_destroy);
13841385
g_clear_pointer (&priv->window_group, clutter_actor_destroy);
13851386
g_clear_pointer (&priv->top_window_group, clutter_actor_destroy);
1386-
g_clear_pointer (&priv->bottom_window_group, clutter_actor_destroy);
13871387
g_clear_pointer (&priv->feedback_group, clutter_actor_destroy);
13881388
g_clear_pointer (&priv->windows, g_list_free);
13891389

0 commit comments

Comments
 (0)