[Emulator] Resume should resume threads that are paused, not running
This commit is contained in:
committed by
Radosław Gliński
parent
e7e3cfc7fb
commit
ada971aefc
@@ -1099,7 +1099,7 @@ void Emulator::Resume() {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (thread->is_running()) {
|
if (!thread->is_running()) {
|
||||||
thread->thread()->Resume(nullptr);
|
thread->thread()->Resume(nullptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user