InnerAudioContext.destroy
The InnerAudioContext.destroy
method allows mini program developers to clean up and destroy the current InnerAudioContext
instance, releasing resources.
Sample code
copy
this.innerAudioContext = my.createInnerAudioContext();
this.innerAudioContext.destroy();