summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-10 05:34:47 +0200
committerLioncash <mathew1800@gmail.com>2019-04-10 05:34:49 +0200
commit08d507a19687305d4209596c6a9f61bb17948064 (patch)
tree40edc390acccf482597ad31e61b21408f1a74bc0 /src/core/hle/kernel
parentMerge pull request #2354 from lioncash/header (diff)
downloadyuzu-08d507a19687305d4209596c6a9f61bb17948064.tar
yuzu-08d507a19687305d4209596c6a9f61bb17948064.tar.gz
yuzu-08d507a19687305d4209596c6a9f61bb17948064.tar.bz2
yuzu-08d507a19687305d4209596c6a9f61bb17948064.tar.lz
yuzu-08d507a19687305d4209596c6a9f61bb17948064.tar.xz
yuzu-08d507a19687305d4209596c6a9f61bb17948064.tar.zst
yuzu-08d507a19687305d4209596c6a9f61bb17948064.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/server_session.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/core/hle/kernel/server_session.cpp b/src/core/hle/kernel/server_session.cpp
index a6b2cf06a..696a82cd9 100644
--- a/src/core/hle/kernel/server_session.cpp
+++ b/src/core/hle/kernel/server_session.cpp
@@ -28,11 +28,9 @@ ServerSession::~ServerSession() {
// the emulated application.
// Decrease the port's connection count.
- if (parent->port)
+ if (parent->port) {
parent->port->ConnectionClosed();
-
- // TODO(Subv): Wake up all the ClientSession's waiting threads and set
- // the SendSyncRequest result to 0xC920181A.
+ }
parent->server = nullptr;
}
@@ -74,9 +72,6 @@ void ServerSession::ClientDisconnected() {
handler->ClientDisconnected(this);
}
- // TODO(Subv): Force a wake up of all the ServerSession's waiting threads and set
- // their WaitSynchronization result to 0xC920181A.
-
// Clean up the list of client threads with pending requests, they are unneeded now that the
// client endpoint is closed.
pending_requesting_threads.clear();