mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
c2868de25a
Fixes an error that is thrown by `ngTemplateOutlet` under Ivy when switching from a template to null and back to a template. The error is thrown because the reference to the previous ViewRef is never cleared and the directive tries to detach a view that has already been detached. Fixes #32060. PR Close #32160