Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to fix the _refreshSizeUnderLock crash (#13857)
See #12176 (comment), and MSFT:39723014. I have literally no idea how to repro this one, or debug it. The dump I looked at looked like there was a `SwapChainScaleChanged` that was being dispatched as the app was tearing down. The `ControlCore` had started closing, but the `TermControl` hadn't yet. Apparently, just none of the `_refreshSizeUnderLock` callers checked if we were already closing. All the callers appear to be on the main thread. Closes #12176 Since there's no real way for me to repro this manually, I'm thinking we fire this fix off to the OS terminal build, where we'll pretty quickly be able to see if this fixed it or not.
- Loading branch information