Skip to content

Commit ea00cac

Browse files
committed
worker: don't use two-arg NewIsolate
1 parent ddcd235 commit ea00cac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/node_worker.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ class WorkerThreadData {
116116
: w_(w) {
117117
CHECK_EQ(uv_loop_init(&loop_), 0);
118118

119-
Isolate* isolate = NewIsolate(w->array_buffer_allocator_.get(), &loop_);
119+
Isolate* isolate = NewIsolate(
120+
w->array_buffer_allocator_.get(),
121+
&loop_,
122+
w->platform_);
120123
CHECK_NOT_NULL(isolate);
121124

122125
{

0 commit comments

Comments
 (0)