summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-11 19:51:09 +0200
committerbunnei <bunneidev@gmail.com>2021-05-06 01:40:51 +0200
commitc2f6f2ba7a6595abfd6e0e829a556b7424516a2d (patch)
treed2ffb1ad2d810f52cc8e348cd4c200ac67a3f0ca /src
parenthle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject. (diff)
downloadyuzu-c2f6f2ba7a6595abfd6e0e829a556b7424516a2d.tar
yuzu-c2f6f2ba7a6595abfd6e0e829a556b7424516a2d.tar.gz
yuzu-c2f6f2ba7a6595abfd6e0e829a556b7424516a2d.tar.bz2
yuzu-c2f6f2ba7a6595abfd6e0e829a556b7424516a2d.tar.lz
yuzu-c2f6f2ba7a6595abfd6e0e829a556b7424516a2d.tar.xz
yuzu-c2f6f2ba7a6595abfd6e0e829a556b7424516a2d.tar.zst
yuzu-c2f6f2ba7a6595abfd6e0e829a556b7424516a2d.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/k_thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_thread.cpp b/src/core/hle/kernel/k_thread.cpp
index fbab5ecb7..f798dfd59 100644
--- a/src/core/hle/kernel/k_thread.cpp
+++ b/src/core/hle/kernel/k_thread.cpp
@@ -981,7 +981,7 @@ void KThread::Exit() {
// Release the thread resource hint from parent.
if (parent != nullptr) {
- // TODO(bunnei): Hint that the resource is about to be released.
+ parent->GetResourceLimit()->Release(Kernel::LimitableResource::Threads, 0, 1);
resource_limit_release_hint = true;
}