terminal/src/cascadia/WindowsTerminal
Schuyler Rosefield 6bf1507a6c
Try to fix crash on close with saving enabled (#11440)
Don't crash if we try to save the window layout while we are closing, and try to avoid saving at all.

Might impact #11354 

## Detailed Description of the Pull Request / Additional comments
- Revoke the event handler/save throttler so we don't even try to get the window layout when we are closing
- Try to check for nullptrs, but then apply `try {} CATCH_LOG()` liberally

## Validation Steps Performed
The happy path of saving normally is still fine, but I haven't been unlucky enough to trigger the crash myself.
2021-10-19 17:12:18 -07:00
..
AppHost.cpp Try to fix crash on close with saving enabled (#11440) 2021-10-19 17:12:18 -07:00
AppHost.h Try to fix crash on close with saving enabled (#11440) 2021-10-19 17:12:18 -07:00
BaseWindow.h Persist window layout cont. save multiple windows (#11083) 2021-09-27 21:18:39 +00:00
CustomWindowMessages.h Replace TrayIcon with NotificationIcon (#11219) 2021-09-14 16:12:40 +00:00
icon.cpp Add Minimize to Tray and Tray Icon (#10368) 2021-08-12 19:54:39 +00:00
icon.h Add Minimize to Tray and Tray Icon (#10368) 2021-08-12 19:54:39 +00:00
IslandWindow.cpp [IslandWindow.cpp] Avoid double-fetching dropdownDuration (#11383) 2021-10-04 12:40:15 +00:00
IslandWindow.h Enable Vintage Opacity (#11180) 2021-09-20 17:08:13 +00:00
main.cpp Replace TrayIcon with NotificationIcon (#11219) 2021-09-14 16:12:40 +00:00
NonClientIslandWindow.cpp Refresh frame margins when moving between monitors (#11412) 2021-10-06 11:34:53 +00:00
NonClientIslandWindow.h Add an openSystemMenu keybinding (#11086) 2021-09-10 18:25:43 +00:00
NotificationIcon.cpp Replace TrayIcon with NotificationIcon (#11219) 2021-09-14 16:12:40 +00:00
NotificationIcon.h Replace TrayIcon with NotificationIcon (#11219) 2021-09-14 16:12:40 +00:00
packages.config Update to MUX 2.7 (#11240) 2021-09-20 22:08:55 +00:00
pch.cpp Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
pch.h Enable Vintage Opacity (#11180) 2021-09-20 17:08:13 +00:00
resource.h Update WT's icon at runtime to match high-contrast as applicable (#7971) 2020-10-28 00:39:38 +00:00
VirtualDesktopUtils.cpp Add desktop param to globalSummon; set _quake = toCurrent (#9954) 2021-04-28 17:25:48 -05:00
VirtualDesktopUtils.h Add desktop param to globalSummon; set _quake = toCurrent (#9954) 2021-04-28 17:25:48 -05:00
WindowsTerminal.def Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
WindowsTerminal.manifest Restore embedded manifests to say 18362 (#10370) 2021-06-09 16:23:26 +00:00
WindowsTerminal.rc Update WT's icon at runtime to match high-contrast as applicable (#7971) 2020-10-28 00:39:38 +00:00
WindowsTerminal.vcxproj Update to MUX 2.7 (#11240) 2021-09-20 22:08:55 +00:00