mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 18:09:10 +00:00
Jonas Ådahl
07745b3082
wayland/surface: Disconnect actor handlers before unassigning role
The handlers depend on a role being assigned. Destroying the window causes it to become unmapped, which would sometimes trigger one of the handlers, resulting in an is-assigned assert hitting in one of the handlers. Avoid this by disconnecting the handlers earlier, so that there is no risk that any them being triggered before the role is assigned. https://bugzilla.gnome.org/show_bug.cgi?id=789552
…
…
…
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%