1
0
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:
Elias Steurer 2021-05-13 13:56:53 +02:00
parent f60c93ee64
commit 4205b325b9

View File

@ -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