Files
cocos-engine/native/cocos/base/threading/MessageQueue.cpp
James Chen 5ae5dbbd54 fixed #11339 : [v3.6] Crash after hot update by invoking cc.game.restart(). (#11348)
* fixed #11339 : [v3.6] Crash after hot update.
MessageQueue::terminateConsumerThread needs to wait consumer thead to exit. So don't detach consumer thead and we need to join the thread at the end of terminateConsumerThread.

* Delete _consumerThead after join.
2022-06-06 13:35:09 +08:00

9.4 KiB