void connection_manager::stop(connection_ptr c) { std::lock_guard<std::mutex> lock(mutex_); connections_.erase(c); c->stop(); }
void connection_manager::stop(connection_ptr c) { connections_.erase(c); c->stop(); }
void ConnectionManager::stop(connection_ptr c) { m_connections.erase(c); c->stop(); }