Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Disable compositor recycling only for attached views (#20829)
In #19873, we completely disabled compositor recycling. This has adverse effects in our tabbed app where switching tabs (i.e. `BrowserView`s) now results in a flicker because we now also switch compositors. To fix this without regressing the original fix, we now recycle the compositor when the view is removed from a window. This situation can only happen with `BrowserView`s and the common case with `BrowserWindow` is unaffected.
- Loading branch information