[adapters] 修复 Worker 音频未正确销毁的问题

This commit is contained in:
SmallMain 2024-11-25 19:46:20 +08:00
parent 2a337098e4
commit cc9955791a
No known key found for this signature in database

View File

@ -138,7 +138,7 @@ var audioWorkerAdapter = {
}, },
destroy(id) { destroy(id) {
worker.audio.destroy(id); worker.audio.destroy([id]);
delete this.audios[id]; delete this.audios[id];
}, },
}; };