Skip to content

Commit

Permalink
Animated - Add missing super calls to fix native animated crash
Browse files Browse the repository at this point in the history
  • Loading branch information
janicduplessis committed Mar 28, 2017
1 parent bb48c0c commit 0a1f894
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Libraries/Animated/src/AnimatedImplementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -1328,6 +1328,7 @@ class AnimatedModulo extends AnimatedWithChildren {

__detach(): void {
this._a.__removeChild(this);
super.__detach();
}

__getNativeConfig(): any {
Expand Down Expand Up @@ -1378,6 +1379,7 @@ class AnimatedDiffClamp extends AnimatedWithChildren {

__detach(): void {
this._a.__removeChild(this);
super.__detach();
}

__getNativeConfig(): any {
Expand Down Expand Up @@ -1461,6 +1463,7 @@ class AnimatedTransform extends AnimatedWithChildren {
}
}
});
super.__detach();
}

__getNativeConfig(): any {
Expand Down Expand Up @@ -1568,6 +1571,7 @@ class AnimatedStyle extends AnimatedWithChildren {
value.__removeChild(this);
}
}
super.__detach();
}

__makeNative() {
Expand Down

0 comments on commit 0a1f894

Please sign in to comment.