-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(swingset): implement dispatch.retireExports for Remotables
This updates liveslots to implement kernel-delivered `dispatch.retireExports`, but only when the object being retired is a Remotable (virtual objects are left alone for now). Retiring an exported Remotable means we remove it from the `slotToVal` and `valToSlot` tables, and unregister it from the `droppedRegistry`. At this point, vat code might still hold a strong reference to the Remoteable, but liveslots is unaware of it. If the vat re-exports the object, it will get a new vref.
- Loading branch information
Showing
2 changed files
with
109 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters