summaryrefslogtreecommitdiff
path: root/src/core/hle/svc.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2016-12-17 14:34:48 -0500
committerGravatar GitHub2016-12-17 14:34:48 -0500
commit20b832cfc1cb7fca6dd59a4af2f2c95e3c5eaaab (patch)
tree61df2f8ed57ff935c1ac018a64f86d683df45c1e /src/core/hle/svc.cpp
parentMerge pull request #2335 from yuriks/shader-refactor (diff)
parentThread: remove the thread from the thread list when exiting (diff)
downloadyuzu-20b832cfc1cb7fca6dd59a4af2f2c95e3c5eaaab.tar.gz
yuzu-20b832cfc1cb7fca6dd59a4af2f2c95e3c5eaaab.tar.xz
yuzu-20b832cfc1cb7fca6dd59a4af2f2c95e3c5eaaab.zip
Merge pull request #2345 from wwylele/no-zombie-thread
Thread: remove the thread from the thread list when exiting
Diffstat (limited to 'src/core/hle/svc.cpp')
-rw-r--r--src/core/hle/svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index ef25acc4a..5839d7230 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -584,7 +584,7 @@ static ResultCode CreateThread(Handle* out_handle, s32 priority, u32 entry_point
584static void ExitThread() { 584static void ExitThread() {
585 LOG_TRACE(Kernel_SVC, "called, pc=0x%08X", Core::g_app_core->GetPC()); 585 LOG_TRACE(Kernel_SVC, "called, pc=0x%08X", Core::g_app_core->GetPC());
586 586
587 Kernel::GetCurrentThread()->Stop(); 587 Kernel::ExitCurrentThread();
588} 588}
589 589
590/// Gets the priority for the specified thread 590/// Gets the priority for the specified thread