solid-refresh icon indicating copy to clipboard operation
solid-refresh copied to clipboard

Components registry is never cleaned up

Open thetarnav opened this issue 1 year ago • 1 comments

It looks like items added to registry.components and registry.contexts maps are never removed. And because items for components hold a reference to a signal setter, the signal created in $$component can't ever get garbage collected either. It's just something I noticed, not sure if this is intended or even a problem in practice.

thetarnav avatar Jan 02 '25 19:01 thetarnav

hmm good point, I probably missed this, will check.

lxsmnsyc avatar Jan 03 '25 11:01 lxsmnsyc