On Fri, Dec 15, 2017 at 7:17 AM, J Decker <d3c...@gmail.com> wrote: > most usages the callbacks will all be performed before returning back to the > orignal javascript caller, but, it can be that the javascript is adding > streaming data to the text processor iteritively so there may be a long time > between one call to f() and the next... would the 'result' be subject to > garbage collection when it's not in a Local<> or Persistent<> ?
Yes, and keep in mind a Local won't safe you if its HandleScope is destroyed in the interim - it needs to be a Persistent in that case. -- -- v8-users mailing list v8-users@googlegroups.com 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 v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.