mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
hle: kernel: KThread: Add missing resource hint release.
This commit is contained in:
parent
2e8d6fe9a0
commit
c2f6f2ba7a
|
@ -981,7 +981,7 @@ void KThread::Exit() {
|
||||||
|
|
||||||
// Release the thread resource hint from parent.
|
// Release the thread resource hint from parent.
|
||||||
if (parent != nullptr) {
|
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;
|
resource_limit_release_hint = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue