node icon indicating copy to clipboard operation
node copied to clipboard

Clear kResourceStore in timers and intervals

Open mcollina opened this issue 8 months ago • 5 comments

As noted in this article, the timeout/interval objects keep a reference to the store even after they have been cleared.

I think it would be better to clear up that reference inside the clearTimeout() and clearInterval() functions. We might also want to consider exposing an API for end-users and explicit lifetime tracking.

mcollina avatar Jun 10 '24 16:06 mcollina