diff options
author | Subv <subv2112@gmail.com> | 2017-06-26 03:14:04 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2017-06-26 06:38:29 +0200 |
commit | c3c9175a1c14cd82ea9ee9147281802f5b94013e (patch) | |
tree | e36890c5a1ee1dcaeb49b3eeef572fc5b8443ace /src/core | |
parent | Kernel/SVC: Partially implemented svcReplyAndReceive. (diff) | |
download | yuzu-c3c9175a1c14cd82ea9ee9147281802f5b94013e.tar yuzu-c3c9175a1c14cd82ea9ee9147281802f5b94013e.tar.gz yuzu-c3c9175a1c14cd82ea9ee9147281802f5b94013e.tar.bz2 yuzu-c3c9175a1c14cd82ea9ee9147281802f5b94013e.tar.lz yuzu-c3c9175a1c14cd82ea9ee9147281802f5b94013e.tar.xz yuzu-c3c9175a1c14cd82ea9ee9147281802f5b94013e.tar.zst yuzu-c3c9175a1c14cd82ea9ee9147281802f5b94013e.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/kernel/client_session.cpp | 5 |
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() { // 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; } parent->client = nullptr; |