Unregister key delays on closing KBM windows (#6583)

This commit is contained in:
Arjun Balgovind
2020-09-11 15:16:34 -07:00
committed by GitHub
parent 1dec80902d
commit bfbd7b53a1
6 changed files with 15 additions and 9 deletions

View File

@@ -322,6 +322,7 @@ void createEditShortcutsWindow(HINSTANCE hInst, KeyboardManagerState& keyboardMa
hwndLock.lock();
hwndEditShortcutsNativeWindow = nullptr;
keyboardManagerState.ResetUIState();
keyboardManagerState.ClearRegisteredKeyDelays();
// Cannot be done in WM_DESTROY because that causes crashes due to fatal app exit
xamlBridge.ClearXamlIslands();