mirror of
https://github.com/angular/angular.git
synced 2026-11-29 18:07:51 -05:00
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