early-access version 1687

This commit is contained in:
pineappleEA
2021-05-16 10:29:31 +02:00
parent c897769825
commit f8d908c876
19 changed files with 221 additions and 128 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();
}