react-audio-visualize icon indicating copy to clipboard operation
react-audio-visualize copied to clipboard

cleanup audio context on unmount

Open stephenarra opened this issue 1 year ago • 0 comments

Close audio context on unmount.

We ran into issues with the library leaving audio contexts open, eventually causing other audio contexts on the page to stop working properly. The current logic around closing the audio context did not kick off for us as we pause, then stop the media recorder.

stephenarra avatar Jul 30 '24 15:07 stephenarra