diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-27 03:26:53 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 17:35:17 +0200 |
commit | d4ebb510a05d29befde6556e632413e5b35b9ab5 (patch) | |
tree | 309755a4ef21b48f12cca6c40798dccd191cf860 /src/core/hle/kernel/thread.cpp | |
parent | SVC: Cleanup old methods. (diff) | |
download | yuzu-d4ebb510a05d29befde6556e632413e5b35b9ab5.tar yuzu-d4ebb510a05d29befde6556e632413e5b35b9ab5.tar.gz yuzu-d4ebb510a05d29befde6556e632413e5b35b9ab5.tar.bz2 yuzu-d4ebb510a05d29befde6556e632413e5b35b9ab5.tar.lz yuzu-d4ebb510a05d29befde6556e632413e5b35b9ab5.tar.xz yuzu-d4ebb510a05d29befde6556e632413e5b35b9ab5.tar.zst yuzu-d4ebb510a05d29befde6556e632413e5b35b9ab5.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index fb97535a3..a645ee3a2 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -49,12 +49,12 @@ Thread::~Thread() = default; void Thread::Stop() { SchedulerLock lock(kernel); // Cancel any outstanding wakeup events for this thread + Signal(); Core::System::GetInstance().CoreTiming().UnscheduleEvent(kernel.ThreadWakeupCallbackEventType(), global_handle); kernel.GlobalHandleTable().Close(global_handle); global_handle = 0; SetStatus(ThreadStatus::Dead); - Signal(); owner_process->UnregisterThread(this); |