mirror of
https://github.com/brl/mutter.git
synced 2025-03-19 17:55:06 +00:00

If we are replaced via the window manager selection, then we close the MetaDisplay before meta_finalize() runs. We should be careful not to try to close the display again (and access already freed memory) in that case, so clear the global 'the_display' variable. See Metacity bug http://bugzilla.gnome.org/show_bug.cgi?id=588119 http://bugzilla.gnome.org/show_bug.cgi?id=592742