Skip to content
Snippets Groups Projects
Commit 5f233f68 authored by Gabriel Engel's avatar Gabriel Engel Committed by GitHub
Browse files

Merge pull request #5285 from Gyubin/develop

AudioContext can be closed only if it exists.
parents 2a86c90a ff5402bd
No related branches found
No related tags found
No related merge requests found
......@@ -464,7 +464,7 @@ class WebRTCClass
stopAllPeerConnections: ->
for id, peerConnection of @peerConnections
@stopPeerConnection id
window.audioContext.close()
window.audioContext?.close()
setAudioEnabled: (enabled=true) ->
if @localStream?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment