We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7de7ab commit 7ea7c40Copy full SHA for 7ea7c40
packages/react-native/ReactCommon/react/renderer/animated/drivers/AnimationDriver.cpp
@@ -53,7 +53,7 @@ void AnimationDriver::startAnimation() {
53
void AnimationDriver::stopAnimation(bool /*ignoreCompletedHandlers*/) {
54
if (auto node =
55
manager_->getAnimatedNode<ValueAnimatedNode>(animatedValueTag_);
56
- endCallback_) {
+ node != nullptr && endCallback_) {
57
endCallback_.value().call(
58
{.finished = true,
59
.value = node->getRawValue(),
0 commit comments