On Fri, Mar 28, 2014 at 6:03 PM, Jane Chen <[email protected]> wrote: > I create a v8::Object from my ObjectTemplate and embed my own data with > SetAlignedPointerInInternalField. I want to get a call back when that > v8::Object is destructed by v8, so that I can clean up my own stuff. Does > such an API exist?
Yes, Persistent<Object>::SetWeak() (called MakeWeak() in older versions of V8.) -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
