close

suspend fun close()(source)

The close() method of the AudioContext Interface closes the audio context, releasing any system audio resources that it uses.

MDN Reference