diff --git a/assets/js/components/calls/window.js b/assets/js/components/calls/window.js index e1b88ff8..a8c6216d 100644 --- a/assets/js/components/calls/window.js +++ b/assets/js/components/calls/window.js @@ -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)