Commit 08c27e5
committed
fix(core): account for when parent is null in removeChild
This was affected by a recent change in Angular upstream that Angular
core decides to use `element.remove()` instead of
`parent.removeChild(element)`. Hence, during the unmount phase, the
`parent` is never calculated and passed in.
angular/angular#572031 parent 36b7f48 commit 08c27e5
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
280 | 281 | | |
281 | 282 | | |
282 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
283 | 289 | | |
284 | 290 | | |
285 | 291 | | |
| |||
0 commit comments