改进代码

This commit is contained in:
feiyangqingyun
2021-08-21 16:10:36 +08:00
parent c4411c9b2e
commit 17c13cbf2f
7 changed files with 62 additions and 24 deletions

View File

@@ -44,6 +44,7 @@ bool TcpServer::start()
void TcpServer::stop()
{
remove();
this->disconnected();
this->close();
}