Skip to content

Commit 3407d93

Browse files
committed
fixed:hangup when exist
1 parent e828288 commit 3407d93

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

XEngine_Source/XEngine_APPService/XEngine_AuthorizeService/XEngine_AuthorizeService.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,10 +496,12 @@ int main(int argc, char** argv)
496496
HelpComponents_Datas_Destory(xhTCPPacket);
497497
RfcComponents_WSPacket_DestoryEx(xhWSPacket);
498498
HttpProtocol_Server_DestroyEx(xhHttpPacket);
499+
MQTTProtocol_Parse_Destory();
499500

500501
NetCore_TCPXCore_DestroyEx(xhTCPSocket);
501502
NetCore_TCPXCore_DestroyEx(xhWSSocket);
502503
NetCore_TCPXCore_DestroyEx(xhHttpSocket);
504+
NetCore_TCPXCore_DestroyEx(xhMQTTSocket);
503505

504506
SocketOpt_HeartBeat_DestoryEx(xhTCPHeart);
505507
SocketOpt_HeartBeat_DestoryEx(xhWSHeart);
@@ -508,6 +510,7 @@ int main(int argc, char** argv)
508510
ManagePool_Thread_NQDestroy(xhTCPPool);
509511
ManagePool_Thread_NQDestroy(xhWSPool);
510512
ManagePool_Thread_NQDestroy(xhHttpPool);
513+
ManagePool_Thread_NQDestroy(xhMQTTPool);
511514
ManagePool_Memory_Destory(xhMemPool);
512515

513516
HelpComponents_XLog_StrongClose(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_NOTICE);

0 commit comments

Comments
 (0)