diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-10-10 08:04:14 -0400 |
|---|---|---|
| committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-10-15 11:55:20 -0400 |
| commit | 3da21e4b4f8bb03f3ccfda697104179b09695214 (patch) | |
| tree | 3441b0285be95f9341852b86c383880151c38704 /src/core/hle/kernel/wait_object.cpp | |
| parent | 248795db6e2979c9fe99c35ffa2398b395b53d0f (diff) | |
Kernel: Corrections to Wait Objects clearing in which a thread could still be signalled after a timeout or a cancel.
Diffstat (limited to 'src/core/hle/kernel/wait_object.cpp')
| -rw-r--r-- | src/core/hle/kernel/wait_object.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/hle/kernel/wait_object.cpp b/src/core/hle/kernel/wait_object.cpp index 50ed2a2f15..0f833fb3ac 100644 --- a/src/core/hle/kernel/wait_object.cpp +++ b/src/core/hle/kernel/wait_object.cpp @@ -85,9 +85,6 @@ void WaitObject::WakeupWaitingThread(SharedPtr<Thread> thread) { const std::size_t index = thread->GetWaitObjectIndex(this); - for (const auto& object : thread->GetWaitObjects()) { - object->RemoveWaitingThread(thread.get()); - } thread->ClearWaitObjects(); thread->CancelWakeupTimer(); |
