| 248 | } |
| 249 | |
| 250 | void ServerConnection::Accepted(CActiveSocket* socket) |
| 251 | { |
| 252 | std::thread{[](CActiveSocket* socket) { |
| 253 | try { |
| 254 | ServerConnection(socket).threadFn(); |
| 255 | } catch (BlockedException &) { |
| 256 | } |
| 257 | }, socket}.detach(); |
| 258 | } |
| 259 | |
| 260 | void ServerConnection::threadFn() |
| 261 | { |
nothing calls this directly
no test coverage detected