abbreviated `--expandArc` output: let cards = cast[CardsProc](checkedSymAddr(lib, "load")) echo [ :tmpD_1 = `$`( :tmpD = cards() :tmpD) :tmpD_1] unloadLib(lib) echo ["Lib unloaded"] finally: `=destroy`(:tmpD_1) `=destroy_1`(:tmpD) Run
That `:tmpD = cards()` return is getting destroyed after the library is unloaded. Is that safe to do?