learn icon indicating copy to clipboard operation
learn copied to clipboard

setInterval not being terminated when component unmounts

Open guyellis opened this issue 7 years ago • 0 comments

Should be an easy fix - when navigating off the Running component kill the setInterval() method to stop the timer.

Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. Please check the code for the MathDrill component

guyellis avatar Sep 23 '17 17:09 guyellis