<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I've refactored my code and now there is a special killing process near each NIF resource.<div><br></div><div>It will properly shutdown hardware when nif owner is dead.</div></div></blockquote><div> </div><div>Nice.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>nif destructor now is a bit useless, because it is called when everything is done.</div></div></blockquote><div><br></div><div>Guess you just can replace it with NULL when it gets completely useless.</div><div> <br></div></div></div>