[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:
@@ -173,8 +173,8 @@ export class PeerToPeer {
|
||||
}
|
||||
|
||||
stop() {
|
||||
this._stopped = true;
|
||||
this.closeAllConnections();
|
||||
this._stopped = true;
|
||||
}
|
||||
|
||||
getConnectedClientIds() {
|
||||
|
||||
Reference in New Issue
Block a user