Revert "WORKAROUND: temp. disable session resource limits while we work out issues"

This reverts commit 627eaf8c0e.
This commit is contained in:
bunnei 2021-05-15 22:34:55 -07:00
parent 53526d2c14
commit 7b1c7a5e6a
4 changed files with 11 additions and 11 deletions

View file

@ -78,7 +78,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::Sessions, 1);
owner->Close();
}