Fix crash when closing a window while in full-screen mode

This commit delays closing the native window to the next tick to
avoid borrowing either `WindowState` or `MutableAppContext` twice.
06f9516d31Antonio Scandurra committed on 8/18/2022, 12:59:17 PMparentd3904cd
1 file changedLine totals unavailable