Skip to content

Commit 025ad53

Browse files
committed
Apply the important parts of the exit fix (#20607)
1 parent 7231f8f commit 025ad53

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Windows/EmuThread.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ void MainThreadFunc() {
312312
Core_StateProcessed();
313313
NativeFrame(graphicsContext);
314314
}
315-
Core_WaitInactive();
316315

317316
g_inLoop = false;
318317

Windows/MainWindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,8 +1142,8 @@ namespace MainWindow
11421142

11431143
case WM_DESTROY:
11441144
InputDevice::StopPolling();
1145-
MainThread_Stop();
11461145
WindowsRawInput::Shutdown();
1146+
MainThread_Stop();
11471147
KillTimer(hWnd, TIMER_CURSORUPDATE);
11481148
KillTimer(hWnd, TIMER_CURSORMOVEUPDATE);
11491149
// Main window is gone, this tells the message loop to exit.

0 commit comments

Comments
 (0)