mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
d5e09f4d62
When removal of one view causes removal of another one from the same ViewContainerRef it triggers an error with views length calculation. This commit fixes this bug by removing a view from the list of available views before invoking actual view removal (which might be recursive and relies on the length of the list of available views). Fixes #38201. PR Close #38317