core: hle: kernel: k_server_session: Ensure SessionRequestManager is freed.

This commit is contained in:
bunnei 2022-03-11 00:13:21 -08:00
parent bfc4823e36
commit ed67e1dd10

View File

@ -49,6 +49,9 @@ void KServerSession::Destroy() {
parent->OnServerClosed(); parent->OnServerClosed();
parent->Close(); parent->Close();
// Release host emulation members.
manager.reset();
} }
void KServerSession::OnClientClosed() { void KServerSession::OnClientClosed() {