diff --git a/cocos/network/WebSocket.cpp b/cocos/network/WebSocket.cpp index 883c1d8554..9b468a5998 100644 --- a/cocos/network/WebSocket.cpp +++ b/cocos/network/WebSocket.cpp @@ -156,7 +156,6 @@ void WsThreadHelper::wsThreadEntryFunc() } } - _ws->onSubThreadEnded(); } void WsThreadHelper::sendMessageToUIThread(WsMessage *msg)