mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 08:46:38 +02:00
Merge pull request #12371 from unknownbrackets/thread-detach
Avoid thread.detach(), join when needed instead
This commit is contained in:
@@ -268,6 +268,7 @@ PSP_LoadingLock::~PSP_LoadingLock() {
|
||||
void CPU_Shutdown() {
|
||||
// Since we load on a background thread, wait for startup to complete.
|
||||
PSP_LoadingLock lock;
|
||||
PSPLoaders_Shutdown();
|
||||
|
||||
if (g_Config.bAutoSaveSymbolMap) {
|
||||
host->SaveSymbolMap();
|
||||
|
||||
Reference in New Issue
Block a user