mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
756dbb736d
If we didn't fix this, ANR will be triggered in WebView test. But I think CocosWebView implementation is wrong. Currently, CocosWebView.ShouldStartLoadingWorker.run is invoked in UI thread. latch.await is also called in UI thread, which is really dangerous and easily causes infinite waiting.