Browse Source
Merge pull request #2377 from lioncash/todo
kernel/server_session: Remove obsolete TODOs
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
7 deletions
-
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(); |
|
|
|
|