diff options
Diffstat (limited to 'src/components/NewMessageForm')
-rw-r--r-- | src/components/NewMessageForm/AudioRecorder/AudioRecorder.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/NewMessageForm/AudioRecorder/AudioRecorder.vue b/src/components/NewMessageForm/AudioRecorder/AudioRecorder.vue index 75ba26823..f65c9d6a5 100644 --- a/src/components/NewMessageForm/AudioRecorder/AudioRecorder.vue +++ b/src/components/NewMessageForm/AudioRecorder/AudioRecorder.vue @@ -235,6 +235,7 @@ export default { * Generate the file */ generateFile() { + this.audioStream.getTracks().forEach(track => track.stop()) if (!this.aborted) { this.blob = new Blob(this.chunks, { 'type': 'audio/mpeg-3' }) // Convert blob to file |