terminal/src/cascadia
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
..
CascadiaPackage Enable DefApp hooks for stable (#11423) 2021-10-06 11:32:14 +00:00
LocalTests_SettingsModel Implement basic profile matching (#11390) 2021-10-08 00:40:10 +00:00
LocalTests_TerminalApp Fix failing TestHostApp unit tests (#11394) 2021-10-05 18:21:03 +00:00
PublicTerminalCore Implement Keyboard Selection (#10824) 2021-09-23 12:24:32 -07:00
Remoting Persist window layout cont. save multiple windows (#11083) 2021-09-27 21:18:39 +00:00
ShellExtension Properly escape constructed `wt` command-lines (#11314) 2021-09-24 16:17:16 +00:00
TerminalApp Add an Open Settings link to the "Default Terminal" tip (#11491) 2021-10-12 22:12:21 +00:00
TerminalAzBridge Upgrade to C++/WinRT 2.0.210825.3 (#11188) 2021-09-10 21:33:13 +00:00
TerminalConnection Add even MORE logging for defterm (#11537) 2021-10-19 13:29:18 -07:00
TerminalControl Remove last remaining winrt::hstring allocation during text output (#11487) 2021-10-18 09:55:38 -07:00
TerminalCore Implement the Delta E algorithm to improve color perception (#11095) 2021-10-07 22:43:17 +00:00
TerminalSettingsEditor Implement the Delta E algorithm to improve color perception (#11095) 2021-10-07 22:43:17 +00:00
TerminalSettingsModel Further reduce number of generated VS profiles (#11489) 2021-10-19 23:52:00 +00:00
UnitTests_Control Implement the Delta E algorithm to improve color perception (#11095) 2021-10-07 22:43:17 +00:00
UnitTests_Remoting Persist window layout cont. save multiple windows (#11083) 2021-09-27 21:18:39 +00:00
UnitTests_TerminalCore Implement the Delta E algorithm to improve color perception (#11095) 2021-10-07 22:43:17 +00:00
WinRTUtils Replace the UWP file export with the shell32 one (#11365) 2021-10-01 18:33:22 +00:00
WindowsTerminal Try to fix crash on close with saving enabled (#11440) 2021-10-19 17:12:18 -07:00
WindowsTerminalUniversal Update to MUX 2.7 (#11240) 2021-09-20 22:08:55 +00:00
WindowsTerminal_UIATests Enable /Zc:preprocessor (#10593) 2021-07-13 23:00:11 +00:00
WpfTerminalControl wpf: make sure to pack api-ms-win-core-synch-l1-2-0 (#10587) 2021-07-08 10:31:59 -05:00
WpfTerminalTestNetCore wpf: make sure to pack api-ms-win-core-synch-l1-2-0 (#10587) 2021-07-08 10:31:59 -05:00
inc Only access ControlInteractivity through the projection (#10051) 2021-07-19 11:59:30 -05:00
ut_app Enable fast floating point model and fast debug linking (#11466) 2021-10-11 21:02:15 +00:00
wt Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
CascadiaResources.build.items Update Cascadia Code to 2106.17 (#10455) 2021-06-18 20:47:19 +00:00