Commit fc891f01 authored by limingzhe's avatar limingzhe

fix: debug

parent c0970d13
...@@ -215,6 +215,8 @@ export abstract class middleLayerBase extends cc.Component { ...@@ -215,6 +215,8 @@ export abstract class middleLayerBase extends cc.Component {
// this.clearDragonDisplayAssetList(); // this.clearDragonDisplayAssetList();
await asyncDelay(0.001);
// 手机端强制垃圾回收 // 手机端强制垃圾回收
if (cc.sys.os == cc.sys.OS_IOS || cc.sys.os == cc.sys.OS_ANDROID) { if (cc.sys.os == cc.sys.OS_IOS || cc.sys.os == cc.sys.OS_ANDROID) {
cc.sys.garbageCollect(); cc.sys.garbageCollect();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment