3 ms·
Not only setInterval though. This sort of leak can also show up if the closure is a DOM event handler or is otherwise exposed.
by ufo 13y ago
Not only setInterval though. This sort of leak can also show up if the closure is a DOM event handler or is otherwise exposed.
- Tloewald 13y agoIt can show up anywhere — and in fact event handlers are a major source of leaks in general — but the point is that the leak doesn't occur as frequently as you might expect not that it occurs.