Fix a hotkey-related crash
This commit is contained in:
parent
27533c1b0a
commit
b35d5f215f
@ -575,6 +575,9 @@ void OBS::CallHotkey(DWORD hotkeyID, bool bDown)
|
||||
|
||||
OSLeaveMutex(hHotkeyMutex);
|
||||
|
||||
if (!hotkeyProc)
|
||||
return;
|
||||
|
||||
hotkeyProc(hotkey, param, bDown);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user