Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sirwhinesalot
· 3y ago · 0 comments
Useful in C# and should be just as useful in TS. Nice.
Comments
[–]
LordN00b
3y ago
As long as we don't have to do the dipose dance (isDisposed/isDispoing booleans).
[–]
bertylicious
3y ago
This awkward dance is due to destructors/finalizers calling `Dispose()`. Since JS doesn't have those, this shouldn't be an issue.
[–]
pwdisswordfishc
3y ago
FinalizationRegistry exists…
[–]
manojlds
3y ago
It's been a while since I coded in C# but you just triggered some bad memories.