Wednesday, May 21, 2025
1 change · 17.0
Resolved issues and error corrections
This fix prevents the website page creation dialog from crashing if it is closed or removed while it is still loading. It improves reliability for users managing website pages by safely handling a timing issue in the background.
Original PR description
Doing asynchronous things in the onWillStart can be tricky. Methods that come from services are usually protected against those, and hang up if the component was destroyed during the call, but other calls aren't protected. This commit fixes a race condition where a protected call is done after a component is destroyed and crashes. runbot-error-135245 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr