Possible Duplicate:
Viewing all the timouts/intervals in javascript?
I'm making an HTML5 game, and recently I've added a lot of graphical effects that rely on intervals (made by the setInterval
function). It started running slow, even when no intervals should be running! So, I believe that I'm not clearing them all, and I'd like to do that. But how? First of all, of course, is to figure out if that's even the problem, so how do I get the number of currently active intervals?
Damn, the interval count never goes up more than 3, I was careful after all. I think I just set the terminal velocity too low!