程序退出清理

This commit is contained in:
xiongziliang 2018-01-25 09:12:41 +08:00
parent 93a1b16305
commit 25551ef3e6

View File

@ -194,6 +194,7 @@ int main(int argc,char *argv[]){
UDPServer::Destory(); UDPServer::Destory();
//TcpServer用到了WorkThreadPool //TcpServer用到了WorkThreadPool
WorkThreadPool::Destory(); WorkThreadPool::Destory();
AsyncTaskThread::Destory();
EventPoller::Destory(); EventPoller::Destory();
Logger::Destory(); Logger::Destory();
return 0; return 0;