2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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 {