summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-04-10 16:29:24 +0200
committerGitHub <noreply@github.com>2019-04-10 16:29:24 +0200
commit1312cf15d637e87161f0c70591098385b6de9ce1 (patch)
treeaccfce7d0e3d9a987b2481e2b6fceb11ef3eef92
parentMerge pull request #2375 from FernandoS27/fix-ldc (diff)
parentkernel/server_session: Remove obsolete TODOs (diff)
downloadyuzu-1312cf15d637e87161f0c70591098385b6de9ce1.tar
yuzu-1312cf15d637e87161f0c70591098385b6de9ce1.tar.gz
yuzu-1312cf15d637e87161f0c70591098385b6de9ce1.tar.bz2
yuzu-1312cf15d637e87161f0c70591098385b6de9ce1.tar.lz
yuzu-1312cf15d637e87161f0c70591098385b6de9ce1.tar.xz
yuzu-1312cf15d637e87161f0c70591098385b6de9ce1.tar.zst
yuzu-1312cf15d637e87161f0c70591098385b6de9ce1.zip
-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();