mirror of https://github.com/axmolengine/axmol.git
Cancel the onSubThreadEnded callback,because _ws may be deleted in the onClose callback.
This commit is contained in:
parent
e4883fb105
commit
bac83f3740
|
@ -156,7 +156,6 @@ void WsThreadHelper::wsThreadEntryFunc()
|
|||
}
|
||||
}
|
||||
|
||||
_ws->onSubThreadEnded();
|
||||
}
|
||||
|
||||
void WsThreadHelper::sendMessageToUIThread(WsMessage *msg)
|
||||
|
|
Loading…
Reference in New Issue