mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +01:00
Debugger: Lock startup/shutdown for threadsafety.
Otherwise things can get freed while we're trying to inspect them.
This commit is contained in:
1 parent
77609bbea2
commit
e313a9bf6c
7 files changed
+45
-23
No files matched your search
@@ -197,10 +197,12 @@ void ResumeFromStepping() {
|
||||
SetPauseAction(PAUSE_CONTINUE, false);
|
||||
}
|
||||
|
||||
void ForceUnpause() {
|
||||
SetPauseAction(PAUSE_CONTINUE, false);
|
||||
actionComplete = true;
|
||||
actionWait.notify_all();
|
||||
void ForceUnpause(CoreLifecycle stage) {
|
||||
if (stage == CoreLifecycle::STOPPING) {
|
||||
SetPauseAction(PAUSE_CONTINUE, false);
|
||||
actionComplete = true;
|
||||
actionWait.notify_all();
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace
|
||||
Reference in new issue
Block a user