Skip to content
Snippets Groups Projects
Commit 788d3b27 authored by deuce's avatar deuce
Browse files

Root the log object in the correct context.

parent f50a6335
No related branches found
No related tags found
No related merge requests found
......@@ -300,7 +300,7 @@ js_load(JSContext *cx, uintN argc, jsval *arglist)
free(bg);
return(JS_FALSE);
}
JS_AddObjectRoot(cx, &bg->logobj);
JS_AddObjectRoot(bg->cx, &bg->logobj);
bg->msg_queue = msgQueueInit(NULL,MSG_QUEUE_BIDIR);
......
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