summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2022-08-27 03:12:12 +0200
committerFearlessTobi <thm.frey@gmail.com>2022-08-27 03:12:12 +0200
commitd92826963ad15415ad18b2b56144e5eafb68ac5f (patch)
treec2d22077de4c06f05b9f549933a3c854c83ebbe1 /src
parentcore/acc: Make CheckAvailability use LOG_DEBUG (diff)
downloadyuzu-d92826963ad15415ad18b2b56144e5eafb68ac5f.tar
yuzu-d92826963ad15415ad18b2b56144e5eafb68ac5f.tar.gz
yuzu-d92826963ad15415ad18b2b56144e5eafb68ac5f.tar.bz2
yuzu-d92826963ad15415ad18b2b56144e5eafb68ac5f.tar.lz
yuzu-d92826963ad15415ad18b2b56144e5eafb68ac5f.tar.xz
yuzu-d92826963ad15415ad18b2b56144e5eafb68ac5f.tar.zst
yuzu-d92826963ad15415ad18b2b56144e5eafb68ac5f.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/sockets/bsd.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/service/sockets/bsd.cpp b/src/core/hle/service/sockets/bsd.cpp
index e08c3cb67..cc679cc81 100644
--- a/src/core/hle/service/sockets/bsd.cpp
+++ b/src/core/hle/service/sockets/bsd.cpp
@@ -933,7 +933,11 @@ BSD::BSD(Core::System& system_, const char* name)
}
}
-BSD::~BSD() = default;
+BSD::~BSD() {
+ if (auto room_member = room_network.GetRoomMember().lock()) {
+ room_member->Unbind(proxy_packet_received);
+ }
+}
BSDCFG::BSDCFG(Core::System& system_) : ServiceFramework{system_, "bsdcfg"} {
// clang-format off