Commit 15697f7b authored by liujiaxin's avatar liujiaxin

1

parent afcbe681
...@@ -994,6 +994,7 @@ cc.Class({ ...@@ -994,6 +994,7 @@ cc.Class({
}, },
onDestroy() { onDestroy() {
console.log('onDestroy onDestroy');
// audioEngine.uncache(this.audioUrl); // audioEngine.uncache(this.audioUrl);
audioEngine.stop(this._currentAudioId); audioEngine.stop(this._currentAudioId);
this._audioSource.destroy(); this._audioSource.destroy();
......
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