mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2024-12-25 11:18:30 +00:00
[adapters] 修复 Worker 音频未正确销毁的问题
This commit is contained in:
parent
2a337098e4
commit
cc9955791a
@ -138,7 +138,7 @@ var audioWorkerAdapter = {
|
||||
},
|
||||
|
||||
destroy(id) {
|
||||
worker.audio.destroy(id);
|
||||
worker.audio.destroy([id]);
|
||||
delete this.audios[id];
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user