Commit ac2b4b3e authored by 李维's avatar 李维

销毁前 清掉计时器

parent e3067062
{"ver":"1.1.2","uuid":"00a2eaed-c794-4f34-bb9b-203522e1ef42","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "00a2eaed-c794-4f34-bb9b-203522e1ef42",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
......@@ -119,6 +119,10 @@ cc.Class({
cc.audioEngine.stop(this.finishAudioID );
cc.audioEngine.stop(this.hintAudioID );
this.isDestroy = true;
if (this.hideControlId) {
clearTimeout(this.hideControlId);
}
if (this.videoPlayer) {
this.videoplayer.pause();
}
......
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