Skip to content
Snippets Groups Projects
Commit f6127d66 authored by rswindell's avatar rswindell
Browse files

Don't automatically terminate a static service (this may be dangerous).

parent 0fff37c6
No related branches found
No related tags found
No related merge requests found
......@@ -869,7 +869,7 @@ js_BranchCallback(JSContext *cx, JSScript *script)
client->branch.counter++;
/* Terminated? */
if(terminated) {
if(terminated && !(client->service->options&SERVICE_OPT_STATIC)) {
JS_ReportError(cx,"Terminated");
client->branch.counter=0;
return(JS_FALSE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment