mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Windows: Stop input poll before emu shutdown.
Otherwise, we could crash in the input thread during host deletion.
This commit is contained in:
1 parent
4e6c083807
commit
f607f41440
1 file changed
+1
-1
@@ -859,8 +859,8 @@ namespace MainWindow
|
||||
break;
|
||||
|
||||
case WM_CLOSE:
|
||||
EmuThread_Stop();
|
||||
InputDevice::StopPolling();
|
||||
EmuThread_Stop();
|
||||
WindowsRawInput::Shutdown();
|
||||
|
||||
return DefWindowProc(hWnd,message,wParam,lParam);
|
||||
|
||||
Reference in new issue
Block a user