mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-18 08:22:33 +02:00
Fix crash mouse hook on exit
This commit is contained in:
parent
f60c93ee64
commit
4205b325b9
@ -547,6 +547,7 @@ void WinWindow::checkForFullScreenWindow()
|
||||
*/
|
||||
void WinWindow::terminate()
|
||||
{
|
||||
UnhookWindowsHookEx(g_mouseHook);
|
||||
ShowWindow(m_windowHandle, SW_HIDE);
|
||||
|
||||
// Force refresh so that we display the regular
|
||||
|
Loading…
Reference in New Issue
Block a user