h5p-audio-recorder
h5p-audio-recorder copied to clipboard
Fix closing of AudioContext that is already closed
When you were retrying after being done, the 'retry' handler was trying to close the AudioContext that had already been closed by the 'done' handler thus throwing an exception. Fixed by checking the AudioContext's state for being closed already before trying to close it.