1
0
Fork 0
forked from suyu/suyu

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

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 {