Skip to content

Fixing JS error when this.stop is called multiple times #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 18, 2016

Conversation

rgdelato
Copy link
Contributor

I don't know if this.stop gets called multiple times in the theremin example, but I was getting a lot of errors when I tried to do Ryan's trickshot of composing the <Tone /> component with the react-motion slider. This fixes the errors when <Tone /> is re-rendered multiple times with isPlaying set to false.

@mjackson
Copy link
Member

Perfect, thanks @rgdelato! :D

@mjackson mjackson merged commit eba248f into ReactTraining:master Mar 18, 2016
@rgdelato rgdelato deleted the patch-1 branch March 18, 2016 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants