Avoid an error

This commit is contained in:
Pierre HUBERT 2020-04-12 18:41:42 +02:00
parent 106744c7d8
commit dd40c0fae3

View File

@ -358,6 +358,10 @@ class CallWindow extends CustomEvents {
audio: true
})
// Check if the window was closed in the mean time
if(!this.isOpen)
return
// Show user video
this.addVideoStream(userID(), true, stream)