Closed ptomato closed 3 months ago
@arai-a Thanks for the review, I think your suggestions really improved the example. Could you take another look at the updated version?
@arai-a I think your feedback made the comments clearer, so thanks! Would you like to take another look?
An embedding must call JS::ClearKeptObjects() and set a callback for the HostCleanupFinalizationRegistry operation in order for WeakRef and FinalizationRegistry to work properly. This example illustrates the minimum that an embedding should do.