<div dir="ltr">I'm afraid that I need to replace it with something like:<div><br></div><div>if(!obj->cleaned) {</div><div>fprintf(stderr, "We should not get here");</div><div>abort();</div><div>}</div><div><br></div><div><br></div><div>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.</div><div><br></div><div><br></div></div>