display: Unref selection on shutdown
Otherwise it will be leaked and the dispose method added in the previous commit would never be run. Fixes parts of https://gitlab.gnome.org/GNOME/mutter/issues/1006 https://gitlab.gnome.org/GNOME/mutter/merge_requests/1001
This commit is contained in:
parent
35316a034f
commit
d699c80ac2
@ -1022,6 +1022,7 @@ meta_display_close (MetaDisplay *display,
|
||||
g_clear_object (&display->sound_player);
|
||||
|
||||
meta_clipboard_manager_shutdown (display);
|
||||
g_clear_object (&display->selection);
|
||||
|
||||
g_object_unref (display);
|
||||
the_display = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user