[erlang-questions] How to properly stop complicated async NIF resource.
Mikael Karlsson
karlsson.rm@REDACTED
Thu Jul 18 21:46:41 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.
>
Nice.
nif destructor now is a bit useless, because it is called when everything
> is done.
>
Guess you just can replace it with NULL when it gets completely useless.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190718/108ecd6e/attachment.htm>
More information about the erlang-questions
mailing list