Commit f27627f9 authored by liujiaxin's avatar liujiaxin

1

parent 8454d371
...@@ -997,13 +997,13 @@ cc.Class({ ...@@ -997,13 +997,13 @@ cc.Class({
console.log('onDestroy onDestroy'); console.log('onDestroy onDestroy');
// audioEngine.uncache(this.audioUrl); // audioEngine.uncache(this.audioUrl);
audioEngine.stop(this._currentAudioId); audioEngine.stop(this._currentAudioId);
this._destruct();
this._audioSource._destruct(); this._audioSource._destruct();
this._audioACSource._destruct(); this._audioACSource._destruct();
this._audioSource.destroy(); this._audioSource.destroy();
this._audioACSource.destroy(); this._audioACSource.destroy();
this._audioSource = null; this._audioSource = null;
this._audioACSource = null; this._audioACSource = null;
this._destruct();
} }
}); });
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