定时循环播放mp3,大概40分钟后,报错 INNERERRCODE -11800?
定时循环播放mp3,大概40分钟后,报错 INNERERRCODE -11800? 代码: var innerAudioContext = wx.createInnerAudioContext() innerAudioContext.autoplay = false; innerAudioContext.onEnded(function(e) { if (voiceIdx >= voices.length) return; innerAudioContext.src = app.globalData.voiceCache[voices[voiceIdx++]]; innerAudioContext.play(); }); innerAudioContext.src = app.globalData.voiceCache[voices[voiceIdx++]]; innerAudioContext.play(); this.innerAudioContext = innerAudioContext; 运行40分钟后,小程序非常卡,报错: [图片] 开始都是正常的,一段时间之后崩了。我感觉小程序内部有内存泄露。请帮忙检查确认下。