| 224 | return _applicationId; |
| 225 | } |
| 226 | |
| 227 | void DebuggerService::onClientDisconnected(const Ref<ITCPConnection>& client, const Error& error) { |
| 228 | VALDI_INFO(*_logger, "Client {} disconnected: {}", client->getAddress(), error); |
| 229 | auto daemonClient = dynamic_cast<DaemonClientTCPListener*>(client->getDataListener().get())->getDaemonClient(); |
| 230 | if (daemonClient != nullptr) { |
| 231 | daemonClient->closeClient(error); |
| 232 | } |
| 233 | } |
| 234 |