hle: kernel: k_server_port: Release ref-counted host emulation members on Destroy.

This commit is contained in:
bunnei 2022-04-06 17:42:23 -07:00
parent 788bebb160
commit b44a564792
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,9 @@ void KServerPort::Destroy() {
// Close our reference to our parent. // Close our reference to our parent.
parent->Close(); parent->Close();
// Release host emulation members.
session_handler.reset();
} }
bool KServerPort::IsSignaled() const { bool KServerPort::IsSignaled() const {