On Wed, Apr 9, 2014 at 2:02 AM, Kevin Ingwersen <[email protected]> wrote: > In my nodejs extensions, I never had to really worry for things like this. > But now, for my own program, I am given a v8::Context. If I now call > Object::New(), will this apply to the context that was given to me? The > function receives the context as a parameter:
The object is created in the most recently entered context. That could be - but is not necessarily - the Context that is handed to your function. If you don't want to take chances, create a Context::Scope. -- -- 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.
