
Right now the unmapped signal doesn't always fire which means we didn't see a surface that's being unmapped in these code paths before. In particular the resource, window and role can be gone. Handle those cases. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3783>