4
This commit is contained in:
@@ -7,8 +7,8 @@ CloudServer::CloudServer(DispatcherClient * c, const PIByteArray & sname): serve
|
|||||||
last_ping.reset();
|
last_ping.reset();
|
||||||
mutex_clients.lock();
|
mutex_clients.lock();
|
||||||
DispatcherClient * cl = index_clients.value(id, nullptr);
|
DispatcherClient * cl = index_clients.value(id, nullptr);
|
||||||
mutex_clients.unlock();
|
|
||||||
if (cl) cl->sendData(ba);
|
if (cl) cl->sendData(ba);
|
||||||
|
mutex_clients.unlock();
|
||||||
}));
|
}));
|
||||||
connects << CONNECTL(c, pingReceived, [this]() { last_ping.reset(); });
|
connects << CONNECTL(c, pingReceived, [this]() { last_ping.reset(); });
|
||||||
last_ping.reset();
|
last_ping.reset();
|
||||||
|
|||||||
Reference in New Issue
Block a user