mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 01:35:46 +00:00
Thread: remove the thread from the thread list when exiting
This commit is contained in:
parent
5095e23921
commit
c62bc4e616
3 changed files with 15 additions and 3 deletions
|
@ -584,7 +584,7 @@ static ResultCode CreateThread(Handle* out_handle, s32 priority, u32 entry_point
|
|||
static void ExitThread() {
|
||||
LOG_TRACE(Kernel_SVC, "called, pc=0x%08X", Core::g_app_core->GetPC());
|
||||
|
||||
Kernel::GetCurrentThread()->Stop();
|
||||
Kernel::ExitCurrentThread();
|
||||
}
|
||||
|
||||
/// Gets the priority for the specified thread
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue