Use any::reset()
This commit is contained in:
parent
ee2517c52b
commit
6a4f38bdaf
|
@ -88,7 +88,7 @@ void HttpServer::onConnection(const TcpConnectionPtr &conn)
|
|||
{
|
||||
_disconnectWebsocketCallback(context->webSocketConn());
|
||||
}
|
||||
conn->setContext(std::string("None"));
|
||||
conn->getMutableContext()->reset();
|
||||
}
|
||||
_connectionCallback(conn);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue