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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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