summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Subv2017-06-25 20:14:04 -0500
committerGravatar Subv2017-06-25 23:38:29 -0500
commitc3c9175a1c14cd82ea9ee9147281802f5b94013e (patch)
treee36890c5a1ee1dcaeb49b3eeef572fc5b8443ace
parentKernel/SVC: Partially implemented svcReplyAndReceive. (diff)
downloadyuzu-c3c9175a1c14cd82ea9ee9147281802f5b94013e.tar.gz
yuzu-c3c9175a1c14cd82ea9ee9147281802f5b94013e.tar.xz
yuzu-c3c9175a1c14cd82ea9ee9147281802f5b94013e.zip
Kernel/Sessions: Clean up the list of pending request threads of a session when the client endpoint is closed.
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/client_session.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/kernel/client_session.cpp b/src/core/hle/kernel/client_session.cpp
index 78a64d105..e9cf05747 100644
--- a/src/core/hle/kernel/client_session.cpp
+++ b/src/core/hle/kernel/client_session.cpp
@@ -27,6 +27,11 @@ ClientSession::~ClientSession() {
27 27
28 // TODO(Subv): Force a wake up of all the ServerSession's waiting threads and set 28 // TODO(Subv): Force a wake up of all the ServerSession's waiting threads and set
29 // their WaitSynchronization result to 0xC920181A. 29 // their WaitSynchronization result to 0xC920181A.
30
31 // Clean up the list of client threads with pending requests, they are unneeded now that the
32 // client endpoint is closed.
33 server->pending_requesting_threads.clear();
34 server->currently_handling = nullptr;
30 } 35 }
31 36
32 parent->client = nullptr; 37 parent->client = nullptr;