Thursday, May 7, 2026
1 change · 19.0
Code cleanup and technical improvements
This removes a leftover internal flag from the Discuss welcome page after media preview handling was moved elsewhere. The change simplifies maintenance without changing how users experience calls or the welcome page.
Original PR description
**Purpose of this PR:** Since odoo#228382, the welcome page no longer manages call preview media streams itself. `CallPreview` now handles both stream cleanup on destroy and the `getUserMedia` race that could happen when leaving the page while permission was still pending. The `isClosed` flag was introduced in odoo#179690 to guard that race in `WelcomePage`, but it became obsolete after the refactor and the assignment was not cleaned up. This commit removes the unused assignment from the welcome page.