diff --git a/src/networkpluginserver.cpp b/src/networkpluginserver.cpp index 6d2a9da13a72df2766bcb48625c4607968e42cd2..39db7ec03795f8f9862591017d4da24d30e7b192 100644 --- a/src/networkpluginserver.cpp +++ b/src/networkpluginserver.cpp @@ -227,6 +227,9 @@ void NetworkPluginServer::handleSessionFinished(Backend *c) { (*it)->handleDisconnected("Internal Server Error, please reconnect."); } +// c->connection->onDisconnected.connect(boost::bind(&NetworkPluginServer::handleSessionFinished, this, c)); +// c->connection->onDataRead.connect(boost::bind(&NetworkPluginServer::handleDataRead, this, c, _1)); + m_clients.remove(c); delete c;