diff --git a/addons/web_editor/static/src/js/wysiwyg/PeerToPeer.js b/addons/web_editor/static/src/js/wysiwyg/PeerToPeer.js index 39ecb806bd7..bf76695b9c1 100644 --- a/addons/web_editor/static/src/js/wysiwyg/PeerToPeer.js +++ b/addons/web_editor/static/src/js/wysiwyg/PeerToPeer.js @@ -173,8 +173,8 @@ export class PeerToPeer { } stop() { - this._stopped = true; this.closeAllConnections(); + this._stopped = true; } getConnectedClientIds() {