[FIX] web_editor: properly close all connections during PTP stop

Ensure to close all connections before setting the flag that prevents any
notification (notably the notification to disconnect).

task-3392096

closes odoo/odoo#127953

X-original-commit: 905307e8d08ed3595a1f965fe846f1fe6ebe9d5c
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
abd-msyukyu-odoo
2023-07-10 16:59:58 +02:00
parent f96c5a61a9
commit 4c111c1324
@@ -173,8 +173,8 @@ export class PeerToPeer {
}
stop() {
this._stopped = true;
this.closeAllConnections();
this._stopped = true;
}
getConnectedClientIds() {