wayland/color-management: Fix SIGSEGV on dispose
meta_wayland_color_management_dispose func is only called when the compositor is shutting down, in that case the wl_globals are already automatically removed. meta_wayland_color_management_dispose calls wl_global_remove again, this makes a SIGSEGV when color_management is enabled and mutter is being shut down. Stop calling wl_global_remove to fix it. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4032>
This commit is contained in:
parent
971bf15f26
commit
e8a9d3a68e
1 changed files with 0 additions and 2 deletions
|
@ -1388,8 +1388,6 @@ meta_wayland_color_manager_dispose (GObject *object)
|
|||
|
||||
g_clear_pointer (&color_manager->outputs, g_hash_table_destroy);
|
||||
g_clear_pointer (&color_manager->surfaces, g_hash_table_destroy);
|
||||
|
||||
g_clear_pointer (&color_manager->global, wl_global_remove);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue