-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ivy): properly destroy view trees where root is an embedded view …
…without children The bug fixed here steams from the fact that we are traversing too far up in the views tree hierarchy in the destroyViewTree function. The logic in destroyViewTree is off if we start removal at an embedded view without any child views. For such a case we should just clean up (cleanUpView) this one view without paying attention to next / parent views.
- Loading branch information
1 parent
acf6781
commit ea2e5e2
Showing
2 changed files
with
85 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters