diff options
author | bunnei <bunneidev@gmail.com> | 2022-04-07 02:42:23 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-04-08 23:11:40 +0200 |
commit | b44a564792dc391aa2012b424b04ea50c83e27d1 (patch) | |
tree | f6df9dccdaa25412ce3e8c04a958918dbacdd663 /src/core/hle/kernel | |
parent | hle: kernel: k_auto_object: Move unregister with kernel to after Destroy. (diff) | |
download | yuzu-b44a564792dc391aa2012b424b04ea50c83e27d1.tar yuzu-b44a564792dc391aa2012b424b04ea50c83e27d1.tar.gz yuzu-b44a564792dc391aa2012b424b04ea50c83e27d1.tar.bz2 yuzu-b44a564792dc391aa2012b424b04ea50c83e27d1.tar.lz yuzu-b44a564792dc391aa2012b424b04ea50c83e27d1.tar.xz yuzu-b44a564792dc391aa2012b424b04ea50c83e27d1.tar.zst yuzu-b44a564792dc391aa2012b424b04ea50c83e27d1.zip |
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r-- | src/core/hle/kernel/k_server_port.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_server_port.cpp b/src/core/hle/kernel/k_server_port.cpp index 433fc98e1..6922a07cb 100644 --- a/src/core/hle/kernel/k_server_port.cpp +++ b/src/core/hle/kernel/k_server_port.cpp @@ -62,6 +62,9 @@ void KServerPort::Destroy() { // Close our reference to our parent. parent->Close(); + + // Release host emulation members. + session_handler.reset(); } bool KServerPort::IsSignaled() const { |