Fixed some warnings and added code to close active windows on disable (#2915)

This commit is contained in:
Arjun Balgovind
2020-05-12 15:58:11 -07:00
committed by GitHub
parent a1e1d663c3
commit ce96e34d25
6 changed files with 50 additions and 21 deletions

View File

@@ -279,6 +279,9 @@ public:
m_enabled = false;
// Log telemetry
Trace::EnableKeyboardManager(false);
// Close active windows
CloseActiveEditKeyboardWindow();
CloseActiveEditShortcutsWindow();
// Stop keyboard hook
stop_lowlevel_keyboard_hook();
}