Skip to content
Snippets Groups Projects
Commit 02900593 authored by Nicolas Bayet's avatar Nicolas Bayet
Browse files

[REF] web_editor: prevent concurrency issue in resetEditor


The PR #105579 introduce the call of `setupCollaboration` in
`resetEditor` but did not remove the instructions in `resetEditor`
that will be called in `setupCollaboration`.

`this._getNewPtp` should be called by `setupCollaboration` as it is
called after an asynchronous call.

Additionally, `this._peerToPeerLoading` has to be awaited to prevent
concurrency issues.

closes odoo/odoo#110150

Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
parent 93eeaf53
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment