react-native-bouncing-ball icon indicating copy to clipboard operation
react-native-bouncing-ball copied to clipboard

Memory leak?

Open gotexis opened this issue 5 years ago • 0 comments

Thanks for this great project

I noticed that after I navigate away from the screen, the requestAnimationFrame stuff still continues to fire.

You can check this by putting a console.log in the animation restart functions

I am trying to deal with this by explicitly doing a cancelAnimationFrame in unmount hook but to no avail now

gotexis avatar Jul 13 '20 05:07 gotexis