On Sun, Oct 2, 2016 at 1:54 AM, <[email protected]> wrote:
> In this example, the Persistent is allocated on the stack. If I want the 
> callback to keep working after the Persistent goes out of scope, would I have 
> to allocate it on the heap? Would I then have to delete the Persistent in the 
> callback?

Yes to both questions.

-- 
-- 
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.

Reply via email to