<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><br></div><div>nif destructor now is a bit useless, because it is called when everything is done.</div></div>