On Sun, May 12, 2013 at 9:57 PM, danijar <[email protected]> wrote:
>       v8::Handle<v8::Script> script = 
> v8::Script::Compile(v8::String::New(source));
>               
>       v8::TryCatch trycatch;
>       v8::Local<v8::Value> result = script->Run();

Check if script.IsEmpty() before trying to run it - you can get a null
handle back from Compile().

ChrisA

-- 
-- 
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/groups/opt_out.


Reply via email to