Commit d87c53d3 authored by liujiaxin's avatar liujiaxin

1

parent d1ce5de8
...@@ -990,5 +990,7 @@ cc.Class({ ...@@ -990,5 +990,7 @@ cc.Class({
onDestroy() { onDestroy() {
// audioEngine.uncache(this.audioUrl); // audioEngine.uncache(this.audioUrl);
audioEngine.stop(this._currentAudioId); audioEngine.stop(this._currentAudioId);
this._audioSource.destory();
this._audioSource = 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