Commit 444c5093 authored by limingzhe's avatar limingzhe

fix: debug

parent a20b1afd
...@@ -687,7 +687,7 @@ export default class middleLayer extends cc.Component { ...@@ -687,7 +687,7 @@ export default class middleLayer extends cc.Component {
cc.audioEngine.stopAll(); cc.audioEngine.stopAll();
if (this.curBundle) { if (this.curBundle) {
this.curBundle.releaseUnusedAssets(); // this.curBundle.releaseUnusedAssets();
const oldBundle = cc.assetManager.getBundle(this.curBundle.name); const oldBundle = cc.assetManager.getBundle(this.curBundle.name);
oldBundle?.releaseAll(); oldBundle?.releaseAll();
this.curBundle = null; this.curBundle = null;
......
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