-
-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Un-register component keys down the component tree (#2792)
ComponentKey for children components were not getting unregistered when the sub-tree was removed from the game. As a result: - same key couldn't be reused - components with such keys couldn't be readded once removed - component with such keys were not being garbage collected (didn't actually verify this one though)
- Loading branch information
1 parent
ab329f7
commit 0f679b3
Showing
2 changed files
with
33 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