Commit 4832063
authored
Ensure root is set early (#4184)
Closes #4177.
When a child view was removed from the DOM in between in joining and
receving the join callback, we'd fail to mark it as destroyed, because
destroyViewByEl uses the root id for lookup. This meant that the child
view crashed when trying to attach to the element.1 parent eac9958 commit 4832063
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
113 | 118 | | |
114 | 119 | | |
115 | 120 | | |
| |||
0 commit comments