Commit 78ade3c1 authored by rswindell's avatar rswindell
Browse files

Added garbage-collection to static JS loop.

parent 82205bb4
......@@ -1025,6 +1025,7 @@ static void js_static_service_thread(void* arg)
do {
JS_ExecuteScript(js_cx, js_glob, js_script, &rval);
} while(!service->terminated && service->options&SERVICE_OPT_STATIC_LOOP);
JS_DestroyScript(js_cx, js_script);
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