[v8-users] Re: V8 handle scope usage error.

2013-01-23 Thread Neha
Thanks Jason. Lock helps to get off the error:) On Monday, January 21, 2013 12:24:59 PM UTC+5:30, Jason Del Ponte wrote: > I'm pretty new to v8, but I believe the exception you're hitting is > because your code is accessing the v8 context before v8's lock was > incremented. Common case for t

[v8-users] Re: V8 handle scope usage error.

2013-01-20 Thread Jason Del Ponte
I'm pretty new to v8, but I believe the exception you're hitting is because your code is accessing the v8 context before v8's lock was incremented. Common case for this would be if you have multiple threads attempting to use the context at the same time. Creating a local v8::Locker in your met