summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
-rw-r--r--src/core/hle/kernel/process.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp
index e80a12ac3..12a900bcc 100644
--- a/src/core/hle/kernel/process.cpp
+++ b/src/core/hle/kernel/process.cpp
@@ -213,10 +213,7 @@ void Process::PrepareForTermination() {
213 } 213 }
214 }; 214 };
215 215
216 stop_threads(system.Scheduler(0).GetThreadList()); 216 stop_threads(system.GlobalScheduler().GetThreadList());
217 stop_threads(system.Scheduler(1).GetThreadList());
218 stop_threads(system.Scheduler(2).GetThreadList());
219 stop_threads(system.Scheduler(3).GetThreadList());
220 217
221 FreeTLSRegion(tls_region_address); 218 FreeTLSRegion(tls_region_address);
222 tls_region_address = 0; 219 tls_region_address = 0;