This repository was archived by the owner on Dec 11, 2025. It is now read-only.
Commit 339b7a4
committed
Fixed bug where node was not unregistered on exit
I found that update continued to be called for nodes that had been removed from the scene after having called removeFromParent. I think it was originally a typo so I have updated registerComponentNode to unregisterComponentNode which corrects this behaviour and prevents update from being called after the node has been removed from the scene.1 parent 0b87584 commit 339b7a4
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments