Is there any way to execute some code when a thread is killed via clearInterval?
<p>Is there anything like a "dispose" function or "thread shutdown hook" for a specific thread running via setInterval?</p>
