Skip to content

Commit 831b317

Browse files
authored
fix: cleanup LA (#9534)
## Summary Not sure why this was commented out, I fixed the compilation issue, the LA run just fine. ## Test plan - LA / SET examples
1 parent 07e6553 commit 831b317

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/react-native-reanimated/Common/cpp/reanimated/LayoutAnimations/LayoutAnimationsProxy_Experimental.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,7 @@ bool LayoutAnimationsProxy_Experimental::startAnimationsRecursively(
519519
startExitingAnimation(node);
520520
lightNodes_[node->current.tag] = node;
521521
} else {
522-
// TODO (future): add proper cleanup
523-
// layoutAnimationsManager_->clearLayoutAnimationConfig(node->tag);
522+
layoutAnimationsManager_->clearLayoutAnimationConfig(node->current.tag);
524523
}
525524

526525
return wantAnimateExit;

0 commit comments

Comments
 (0)