mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 11:48:36 +01:00
Apply the important parts of the exit fix (#20607)
This commit is contained in:
1 parent
7231f8f2a1
commit
025ad53a43
2 files changed
+1
-2
No files matched your search
@@ -312,7 +312,6 @@ void MainThreadFunc() {
|
||||
Core_StateProcessed();
|
||||
NativeFrame(graphicsContext);
|
||||
}
|
||||
Core_WaitInactive();
|
||||
|
||||
g_inLoop = false;
|
||||
|
||||
|
||||
@@ -1142,8 +1142,8 @@ namespace MainWindow
|
||||
|
||||
case WM_DESTROY:
|
||||
InputDevice::StopPolling();
|
||||
MainThread_Stop();
|
||||
WindowsRawInput::Shutdown();
|
||||
MainThread_Stop();
|
||||
KillTimer(hWnd, TIMER_CURSORUPDATE);
|
||||
KillTimer(hWnd, TIMER_CURSORMOVEUPDATE);
|
||||
// Main window is gone, this tells the message loop to exit.
|
||||
|
||||
Reference in new issue
Block a user