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

Removed unused JS_Begin/EndRequest calls.

parent 0696dacd
No related branches found
No related tags found
No related merge requests found
......@@ -485,11 +485,6 @@ js_initcx(JSRuntime* js_runtime, SOCKET sock, service_client_t* service_client,
// lprintf("%04d JavaScript: Context created",sock);
#if 0
lprintf("%04d %s JS_BeginRequest"
,sock,service_client->service->protocol);
JS_BeginRequest(js_cx); /* Required for multi-thread support */
#endif
JS_SetErrorReporter(js_cx, js_ErrorReporter);
do {
......@@ -550,8 +545,6 @@ js_initcx(JSRuntime* js_runtime, SOCKET sock, service_client_t* service_client,
if(!success) {
lprintf("%04d JS_EndRequest",sock);
JS_EndRequest(js_cx); /* Required for multi-thread support */
JS_DestroyContext(js_cx);
return(NULL);
}
......
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