Ah! Thanks Ben! I got it just after I wrote my own book-keeping for them. :-) Will check it out anyway.
On Friday, March 28, 2014 10:32:07 AM UTC-7, Ben Noordhuis wrote: > > On Fri, Mar 28, 2014 at 6:03 PM, Jane Chen <[email protected]<javascript:>> > 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.
