do not close audiocontext - throws

This commit is contained in:
or-else
2022-03-10 18:00:55 -08:00
parent 37451b9aff
commit 038f62d535
+1 -2
View File
@@ -222,9 +222,8 @@ export default class AudioRecorder extends React.PureComponent {
}
cleanUp() {
this.stream.getTracks().forEach(track => track.stop());
this.audioInput.disconnect();
this.audioContext.close();
this.stream.getTracks().forEach(track => track.stop());
}
render() {