Windows: Fix a hang during shutdown, could leave behind a running process.

This commit is contained in:
Henrik Rydgård
2025-07-09 12:13:18 +02:00
parent 5a300120ab
commit 5e55090e67
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -929,9 +929,9 @@ namespace MainWindow
case WM_DESTROY:
g_InputManager.StopPolling();
g_InputManager.Shutdown();
WindowsRawInput::Shutdown();
MainThread_Stop();
WindowsRawInput::Shutdown();
KillTimer(hWnd, TIMER_CURSORUPDATE);
KillTimer(hWnd, TIMER_CURSORMOVEUPDATE);
// Main window is gone, this tells the message loop to exit.