what is the best way to stop the execution of an script?

 

I use this:

 

JCALLBACK(die) //die()

{

 V8::HandleScope hscope;

 V8::TerminateExecution();

 v8::Script::Compile(v8::String::New("(function(){})()"))->Run();

 return hscope.Close(v8::Undefined());

}

 

>From v8-cgi.

 

Thanks in advance

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

To unsubscribe from this group, send email to 
v8-users+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to