diff options
| author | 2019-04-10 10:29:24 -0400 | |
|---|---|---|
| committer | 2019-04-10 10:29:24 -0400 | |
| commit | 1312cf15d637e87161f0c70591098385b6de9ce1 (patch) | |
| tree | accfce7d0e3d9a987b2481e2b6fceb11ef3eef92 /src/core/hle/kernel | |
| parent | Merge pull request #2375 from FernandoS27/fix-ldc (diff) | |
| parent | kernel/server_session: Remove obsolete TODOs (diff) | |
| download | yuzu-1312cf15d637e87161f0c70591098385b6de9ce1.tar.gz yuzu-1312cf15d637e87161f0c70591098385b6de9ce1.tar.xz yuzu-1312cf15d637e87161f0c70591098385b6de9ce1.zip | |
Merge pull request #2377 from lioncash/todo
kernel/server_session: Remove obsolete TODOs
Diffstat (limited to 'src/core/hle/kernel')
| -rw-r--r-- | src/core/hle/kernel/server_session.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/core/hle/kernel/server_session.cpp b/src/core/hle/kernel/server_session.cpp index a6b2cf06a..696a82cd9 100644 --- a/src/core/hle/kernel/server_session.cpp +++ b/src/core/hle/kernel/server_session.cpp | |||
| @@ -28,11 +28,9 @@ ServerSession::~ServerSession() { | |||
| 28 | // the emulated application. | 28 | // the emulated application. |
| 29 | 29 | ||
| 30 | // Decrease the port's connection count. | 30 | // Decrease the port's connection count. |
| 31 | if (parent->port) | 31 | if (parent->port) { |
| 32 | parent->port->ConnectionClosed(); | 32 | parent->port->ConnectionClosed(); |
| 33 | 33 | } | |
| 34 | // TODO(Subv): Wake up all the ClientSession's waiting threads and set | ||
| 35 | // the SendSyncRequest result to 0xC920181A. | ||
| 36 | 34 | ||
| 37 | parent->server = nullptr; | 35 | parent->server = nullptr; |
| 38 | } | 36 | } |
| @@ -74,9 +72,6 @@ void ServerSession::ClientDisconnected() { | |||
| 74 | handler->ClientDisconnected(this); | 72 | handler->ClientDisconnected(this); |
| 75 | } | 73 | } |
| 76 | 74 | ||
| 77 | // TODO(Subv): Force a wake up of all the ServerSession's waiting threads and set | ||
| 78 | // their WaitSynchronization result to 0xC920181A. | ||
| 79 | |||
| 80 | // Clean up the list of client threads with pending requests, they are unneeded now that the | 75 | // Clean up the list of client threads with pending requests, they are unneeded now that the |
| 81 | // client endpoint is closed. | 76 | // client endpoint is closed. |
| 82 | pending_requesting_threads.clear(); | 77 | pending_requesting_threads.clear(); |