Rework the shutdown logic in the OpenGL backend. Eliminated race conditions.

This commit is contained in:
Henrik Rydgård committed 2025-08-31 10:57:06 +02:00
1 parent b813a6c30f
commit 9218fe9b59
26 files changed
+158 -200

No files matched your search

+1 -5
View File
@@ -1560,10 +1560,6 @@ void NativeShutdown() {
ShutdownWebServer();
#if PPSSPP_PLATFORM(ANDROID)
System_ExitApp();
#endif
__UPnPShutdown();
g_PortManager.Shutdown();
@@ -1581,7 +1577,7 @@ void NativeShutdown() {
g_threadManager.Teardown();
#if !(PPSSPP_PLATFORM(ANDROID) || PPSSPP_PLATFORM(IOS))
#if !PPSSPP_PLATFORM(IOS)
System_ExitApp();
#endif