Here is the Stack Overflow link in which I posted the same question with 
complete code. 

https://stackoverflow.com/questions/45900692/how-to-use-the-same-context-across-multiple-functions-in-v8-javascript

Can you please take a look? 

Thanks.

On Sunday, August 27, 2017 at 9:40:35 AM UTC-7, Ben Noordhuis wrote:
>
> On Sun, Aug 27, 2017 at 4:16 PM, Kavin Mani <[email protected] 
> <javascript:>> wrote: 
> > I'm calling script->Run(). I have not shown it here. But if you see, I 
> am creating a new context in each function after the constructor. I do not 
> want to do that and use the same context that I created in my constructor. 
> Can you please help me how to do that? 
>
> Unless I misread your code (or if the snippet is incomplete), you are 
> not creating a new context, you are reifying the context from a 
> persistent handle. 
>
> Perhaps you can post a complete, minimal example? 
>

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