Skip to content

Commit 0a1f894

Browse files
Animated - Add missing super calls to fix native animated crash
1 parent bb48c0c commit 0a1f894

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Libraries/Animated/src/AnimatedImplementation.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,6 +1328,7 @@ class AnimatedModulo extends AnimatedWithChildren {
13281328
13291329
__detach(): void {
13301330
this._a.__removeChild(this);
1331+
super.__detach();
13311332
}
13321333
13331334
__getNativeConfig(): any {
@@ -1378,6 +1379,7 @@ class AnimatedDiffClamp extends AnimatedWithChildren {
13781379
13791380
__detach(): void {
13801381
this._a.__removeChild(this);
1382+
super.__detach();
13811383
}
13821384
13831385
__getNativeConfig(): any {
@@ -1461,6 +1463,7 @@ class AnimatedTransform extends AnimatedWithChildren {
14611463
}
14621464
}
14631465
});
1466+
super.__detach();
14641467
}
14651468
14661469
__getNativeConfig(): any {
@@ -1568,6 +1571,7 @@ class AnimatedStyle extends AnimatedWithChildren {
15681571
value.__removeChild(this);
15691572
}
15701573
}
1574+
super.__detach();
15711575
}
15721576
15731577
__makeNative() {

0 commit comments

Comments
 (0)