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

Max Lapshin max.lapshin@REDACTED
Thu Jul 18 22:08:29 CEST 2019


I'm afraid that I need to replace it with something like:

if(!obj->cleaned) {
fprintf(stderr, "We should not get here");
abort();
}


because if we get to destructor without calling erlang destructor, it means
that we need to reboot whole program and after 5 times reboot whole device
with power cycle.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190718/c8b8ab11/attachment.htm>


More information about the erlang-questions mailing list