Where to store handle of setInterval?

As Nick said you don't need to use context for this... I usually do something like node.myInterval = setInterval(.... to hold the reference - and then in the on close you can do... . if (node.myInterval) { clearInterval(node.myInterval) } to tidy it up.

1 Like