[erlang-questions] How to properly stop complicated async NIF resource.

Max Lapshin max.lapshin@REDACTED
Thu Jul 18 09:19:15 CEST 2019


I've refactored my code and now there is a special killing process near
each NIF resource.

It will properly shutdown hardware when nif owner is dead.

nif destructor now is a bit useless, because it is called when everything
is done.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190718/f5b3c720/attachment.htm>


More information about the erlang-questions mailing list