> We could use a global refcnt to count the number of pending destructions > and use a completion object to block unload until all the destructors > fire and the refcnt goes to zero. It has the same race as module refcnt. So just use that. -- MST