Closed leighghunt closed 11 years ago
setInterval() calls were stacking up, as they fire repeatedly, each one adding a new timer.
setInterval()
I only noticed when experimenting and reducing interval to 30 seconds, and after a few minutes the browser would start hogging the CPU.
setInterval()
calls were stacking up, as they fire repeatedly, each one adding a new timer.I only noticed when experimenting and reducing interval to 30 seconds, and after a few minutes the browser would start hogging the CPU.