summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/client_session.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-07 21:31:26 +0100
committerGitHub <noreply@github.com>2019-03-07 21:31:26 +0100
commitc63a0e88b76f55e4759f001b9e4d3713b69e44eb (patch)
treee5a4150afd3fc32b03d7c9b99d7a6d1bba9497d8 /src/core/hle/kernel/client_session.cpp
parentMerge pull request #2205 from FearlessTobi/docked-undocked-hotkey (diff)
parentkernel/server_session: Make data members private (diff)
downloadyuzu-c63a0e88b76f55e4759f001b9e4d3713b69e44eb.tar
yuzu-c63a0e88b76f55e4759f001b9e4d3713b69e44eb.tar.gz
yuzu-c63a0e88b76f55e4759f001b9e4d3713b69e44eb.tar.bz2
yuzu-c63a0e88b76f55e4759f001b9e4d3713b69e44eb.tar.lz
yuzu-c63a0e88b76f55e4759f001b9e4d3713b69e44eb.tar.xz
yuzu-c63a0e88b76f55e4759f001b9e4d3713b69e44eb.tar.zst
yuzu-c63a0e88b76f55e4759f001b9e4d3713b69e44eb.zip
Diffstat (limited to 'src/core/hle/kernel/client_session.cpp')
-rw-r--r--src/core/hle/kernel/client_session.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/core/hle/kernel/client_session.cpp b/src/core/hle/kernel/client_session.cpp
index 704e82824..c17baa50a 100644
--- a/src/core/hle/kernel/client_session.cpp
+++ b/src/core/hle/kernel/client_session.cpp
@@ -17,21 +17,11 @@ ClientSession::~ClientSession() {
// This destructor will be called automatically when the last ClientSession handle is closed by
// the emulated application.
- // Local references to ServerSession and SessionRequestHandler are necessary to guarantee they
+ // A local reference to the ServerSession is necessary to guarantee it
// will be kept alive until after ClientDisconnected() returns.
SharedPtr<ServerSession> server = parent->server;
if (server) {
- std::shared_ptr<SessionRequestHandler> hle_handler = server->hle_handler;
- if (hle_handler)
- hle_handler->ClientDisconnected(server);
-
- // 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.
- server->pending_requesting_threads.clear();
- server->currently_handling = nullptr;
+ server->ClientDisconnected();
}
parent->client = nullptr;