Fixed an issue with the shift key (#4411)

This commit is contained in:
Ivan Stošić
2020-06-22 15:57:30 +02:00
committed by GitHub
parent 8c6085b933
commit 27a35a0388

View File

@@ -38,6 +38,7 @@ void ShiftKeyHook::disable()
{
if (hHook)
{
callback(false);
UnhookWindowsHookEx(hHook);
hHook = NULL;
}