Renamed ServerSession => ClientSession

This commit is contained in:
badaix 2015-09-05 11:16:24 +02:00
parent e279b12f31
commit 8991347947
6 changed files with 38 additions and 38 deletions

View file

@ -53,7 +53,7 @@ void ControlServer::send(const std::string& message)
if (!(*it)->active())
{
logS(kLogErr) << "Session inactive. Removing\n";
// don't block: remove ServerSession in a thread
// don't block: remove ClientSession in a thread
auto func = [](shared_ptr<ControlSession> s)->void{s->stop();};
std::thread t(func, *it);
t.detach();