Feature: weakref-based cleanup #5477
michaelfig
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
https://tc39.es/proposal-weakrefs/ is of intrest to those issue readers who do not know how that would work. In short. A FinalizationRegistry would be used to keep track of if presences local to a vat yet pointing into remote vats have been locally gc'ed. If so we can inform the remote vat of our disintrest into the object that had been referenced. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Proposed by @erights as an optional feature.
Beta Was this translation helpful? Give feedback.
All reactions