Fix crash on exit with open windows

Merged Jonas Ådahl requested to merge jadahl/gnome-shell:wip/clean-exit-with-open-windows into main

Clean up singletons and make them disconnect signals. Also add a test case.

Depends on mutter!2934 (merged)

Edited by Robert Mader

Merge request reports