k_server_session: fix crashes

This commit is contained in:
Liam
2022-10-29 23:05:56 -04:00
parent c4d91488d9
commit d867ae5ab6
2 changed files with 1 additions and 2 deletions

View File

@ -80,7 +80,6 @@ ResultVal<Kernel::KPort*> ServiceManager::GetServicePort(const std::string& name
}
auto* port = Kernel::KPort::Create(kernel);
SCOPE_EXIT({ port->Close(); });
port->Initialize(ServerSessionCountMax, false, name);
auto handler = it->second;