mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
89eac702b5
Currently, DOM node removal called `removeChild` on the saved parent node when destroying a component. However, this will fail if the component has been manually moved in the DOM. This change makes the removal always use the node's real `parentNode` and ignore the provided `parent`. PR Close #28455