Skip to content

Conversation

@madox2
Copy link

@madox2 madox2 commented Nov 17, 2016

As the addListener and removeListener methods are not part of Animated interface it should be called defensively.

Specifically, I faced problem when _parent property of AnimatedInterpolation was instance of AnimatedModulo (which does not implement removeListener method). On component unmount it called __detach method which afterwards throwed an uncaught error.

@lelandrichardson
Copy link
Contributor

I believe #49 should fix this, though it may not be a bad idea to add this and be defensive anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants