Description
When touchDetected or mouseDown is true, the sbTouch animation is running,
and the node is removed from the Scene, then the animation will never stop, causing a memory leak.
Simple fix is to also check, whether the Node is visible, by checking the "isTreeShowing" property.
and the node is removed from the Scene, then the animation will never stop, causing a memory leak.
Simple fix is to also check, whether the Node is visible, by checking the "isTreeShowing" property.