mirror of
https://git.suyu.dev/suyu/suyu
synced 2026-03-13 07:31:07 +00:00
kernel/svc_types: refresh
This commit is contained in:
@@ -76,7 +76,7 @@ void KSession::OnClientClosed() {
|
||||
void KSession::PostDestroy(uintptr_t arg) {
|
||||
// Release the session count resource the owner process holds.
|
||||
KProcess* owner = reinterpret_cast<KProcess*>(arg);
|
||||
owner->GetResourceLimit()->Release(LimitableResource::Sessions, 1);
|
||||
owner->GetResourceLimit()->Release(LimitableResource::SessionCountMax, 1);
|
||||
owner->Close();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user