Re: [v8-users] Right usage of v8::EscapableHandleScope

2018-11-12 Thread Ben Noordhuis
On Mon, Nov 12, 2018 at 10:47 AM Gautham B A wrote: > Hi all, > > From the v8 docs, we know that whenever a v8::Local variable needs to live > beyond the function where it was created, we need to escape it with a > v8::EscapableHandleScope. Should I call Escape() when I'm setting a v8::Local >

[v8-users] Right usage of v8::EscapableHandleScope

2018-11-12 Thread Gautham B A
Hi all, >From the v8 docs, we know that whenever a v8::Local variable needs to live beyond the function where it was created, we need to escape it with a v8::EscapableHandleScope. Should I call Escape() when I'm setting a v8::Local variable as a property of some other v8::Local? Please see the