How do you remove :counters? Are they garbage collected when not needed anymore?
The manual does not contain any information on this:
https://erlang.org/doc/man/counters.html
How do you remove :counters? Are they garbage collected when not needed anymore?
The manual does not contain any information on this:
https://erlang.org/doc/man/counters.html
Yes, as there is no mention of explicit close/drop/cleanup, you can assume that the runtime will properly clean them up for you.
Yea, they are reference counted and garbage collected.