aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Core/OsHle/Process.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-04-26 00:07:12 -0300
committergdkchan <gab.dark.100@gmail.com>2018-04-26 00:07:12 -0300
commit81e74ebd8689ba7f7525e2da7bf814fccbe85ad0 (patch)
tree9a244d0e855f84f6242d61d8afd4a850f45d84f2 /Ryujinx.Core/OsHle/Process.cs
parent2f1250ab04cc26f310283baeade82c09decffa82 (diff)
Remove thread from the threads list when it finishes, remove debug code
Diffstat (limited to 'Ryujinx.Core/OsHle/Process.cs')
-rw-r--r--Ryujinx.Core/OsHle/Process.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Core/OsHle/Process.cs b/Ryujinx.Core/OsHle/Process.cs
index c3f934af..b8c08856 100644
--- a/Ryujinx.Core/OsHle/Process.cs
+++ b/Ryujinx.Core/OsHle/Process.cs
@@ -345,7 +345,7 @@ namespace Ryujinx.Core.OsHle
{
TlsSlots.TryRemove(GetTlsSlot(Thread.ThreadState.Tpidr), out _);
- KThread KernelThread = GetThread(Thread.ThreadState.Tpidr);
+ Threads.TryRemove(Thread.ThreadState.Tpidr, out KThread KernelThread);
Scheduler.RemoveThread(KernelThread);