You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note how every second child is removed? Not all of them. This had me scratching my head, but after some digging, and I could be wrong, but I believe its because we're altering the array inside a loop:
Closes#2455Closes#2456
## Changes:
- Unparent children when `.kill()` is called
- Fix issue in `.removeAllChildren()` where the delete would modify the collection while iterating
Steps to Reproduce
Reported by @chrisk-7777 #2419 (comment)
Expected Result
All children should be removed
Actual Result
Every other child is removed
Environment
Current Workaround
Manually iterate over the children and call
removeChild
individuallyThe text was updated successfully, but these errors were encountered: