mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-11-09 23:43:35 +00:00
fix: stale variable references in audioEncoder cleanup
This commit is contained in:
1 parent
45b306362c
commit
b385ca4e5c
1 file changed
+4
-4
@@ -541,12 +541,12 @@ export class AudioProcessor {
|
||||
recorder.stop()
|
||||
}
|
||||
destinationNode.stream.getTracks().forEach((track) => track.stop())
|
||||
sourceNode.disconnect()
|
||||
timelineAudioSourceNode?.disconnect()
|
||||
destinationNode.disconnect()
|
||||
await audioContext.close()
|
||||
media.src = ''
|
||||
media.load()
|
||||
mediaSource.revoke()
|
||||
timelineMedia.src = ''
|
||||
timelineMedia.load()
|
||||
timelineMediaSource.revoke()
|
||||
}
|
||||
|
||||
const recordedBlob = await recordedBlobPromise
|
||||
|
||||
Reference in new issue
Block a user