Commit a39629c8 authored by rswindell's avatar rswindell
Browse files

Bugfix in last commit: don't destroy context twice.

parent 9299ff0c
......@@ -1031,6 +1031,7 @@ static void js_static_service_thread(void* arg)
JS_DestroyScript(js_cx, js_script);
JS_DestroyContext(js_cx); /* Free Context */
js_cx=NULL;
} while(!service->terminated && service->options&SERVICE_OPT_STATIC_LOOP);
if(js_cx!=NULL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment