Skip to content
Snippets Groups Projects
Commit 3bfbf755 authored by Brendan Eich's avatar Brendan Eich
Browse files

JSThread is not zeroed when allocated, grrr.

parent 90efbc70
No related merge requests found
......@@ -155,6 +155,7 @@ js_GetCurrentThread(JSRuntime *rt)
memset(&thread->traceMonitor, 0, sizeof(thread->traceMonitor));
js_InitJIT(&thread->traceMonitor);
#endif
thread->scriptsToGC = NULL;
/*
* js_SetContextThread initializes the remaining fields as necessary.
......
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