Hacker News new | ask | show | jobs
by LordN00b 1088 days ago
As long as we don't have to do the dipose dance (isDisposed/isDispoing booleans).
2 comments

This awkward dance is due to destructors/finalizers calling `Dispose()`. Since JS doesn't have those, this shouldn't be an issue.
FinalizationRegistry exists…
It's been a while since I coded in C# but you just triggered some bad memories.