* @brief Handles socket disconnection (worker thread) */
| 273 | * @brief Handles socket disconnection (worker thread) |
| 274 | */ |
| 275 | void API::ServerWorker::onSocketDisconnected() |
| 276 | { |
| 277 | auto* socket = qobject_cast<QTcpSocket*>(sender()); |
| 278 | removeSocket(socket); |
| 279 | } |
| 280 | |
| 281 | /** |
| 282 | * @brief Processes frames by serializing them to JSON and writing to sockets |
nothing calls this directly
no test coverage detected