Move the image unregistration out of the Module destructor into dlclose_nid_postfix. It runs while the handle is still registered, so a failure (the image stays leased by GPU work) propagates to the caller and leaves the module loaded and usable. Images shared by another open handle stay registered until the last handle closes. guest_memory now checks that dlclose under a held lease throws and keeps the module, its symbols and its protection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| EhFrame.hpp | ||