Commit 9894d9ce authored by liujiangnan's avatar liujiangnan

debug

parent a7cd45b8
...@@ -10141,8 +10141,8 @@ ...@@ -10141,8 +10141,8 @@
], ],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_string": "!#Error#!", "_string": "垃圾回收",
"_N$string": "!#Error#!", "_N$string": "垃圾回收",
"_fontSize": 20, "_fontSize": 20,
"_lineHeight": 40, "_lineHeight": 40,
"_enableWrapText": false, "_enableWrapText": false,
......
...@@ -722,7 +722,10 @@ export default class NewClass extends middleLayerBase { ...@@ -722,7 +722,10 @@ export default class NewClass extends middleLayerBase {
const BtnError = cc.find('middleLayer/ui/BtnError'); const BtnError = cc.find('middleLayer/ui/BtnError');
BtnError.on('click', () => { BtnError.on('click', () => {
this.loadOnlineBundle("test_error"); // this.loadOnlineBundle("test_error");
if (cc.sys.isNative && cc.sys.os == cc.sys.OS_IOS || cc.sys.os == cc.sys.OS_ANDROID) {
cc.sys.garbageCollect();
}
}); });
const btnClose = cc.find('middleLayer/ConsoleNode/BtnClose'); const btnClose = cc.find('middleLayer/ConsoleNode/BtnClose');
......
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