2
0
Fork 0
mirror of https://github.com/yuzu-mirror/yuzu synced 2024-12-25 04:13:09 +00:00

kernel/server_session: Remove obsolete TODOs

These are holdovers from Citra.
This commit is contained in:
Lioncash 2019-04-09 23:34:47 -04:00
parent 2598433f9c
commit 08d507a196

View file

@ -28,11 +28,9 @@ ServerSession::~ServerSession() {
// the emulated application. // the emulated application.
// Decrease the port's connection count. // Decrease the port's connection count.
if (parent->port) if (parent->port) {
parent->port->ConnectionClosed(); parent->port->ConnectionClosed();
}
// TODO(Subv): Wake up all the ClientSession's waiting threads and set
// the SendSyncRequest result to 0xC920181A.
parent->server = nullptr; parent->server = nullptr;
} }
@ -74,9 +72,6 @@ void ServerSession::ClientDisconnected() {
handler->ClientDisconnected(this); 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 // Clean up the list of client threads with pending requests, they are unneeded now that the
// client endpoint is closed. // client endpoint is closed.
pending_requesting_threads.clear(); pending_requesting_threads.clear();