summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-10-31 00:20:55 +0100
committerLiam <byteslice@airmail.cc>2022-10-31 22:45:46 +0100
commit222838332209db34cd70687caaa6997c31de085b (patch)
treedb51c7a937c046121bd914df878c13fb9a177afb /src/core/hle/service
parentk_server_session: add SendReplyHLE (diff)
downloadyuzu-222838332209db34cd70687caaa6997c31de085b.tar
yuzu-222838332209db34cd70687caaa6997c31de085b.tar.gz
yuzu-222838332209db34cd70687caaa6997c31de085b.tar.bz2
yuzu-222838332209db34cd70687caaa6997c31de085b.tar.lz
yuzu-222838332209db34cd70687caaa6997c31de085b.tar.xz
yuzu-222838332209db34cd70687caaa6997c31de085b.tar.zst
yuzu-222838332209db34cd70687caaa6997c31de085b.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/service.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index 0913a8065..6a64c6005 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -101,7 +101,9 @@ ServiceFrameworkBase::~ServiceFrameworkBase() {
const auto guard = LockService();
if (named_port != nullptr) {
- named_port->Close();
+ named_port->GetClientPort().Close();
+ named_port->GetServerPort().Close();
+ named_port = nullptr;
}
}