Skip to content

Commit

Permalink
worker: do not use two-arg NewIsolate
Browse files Browse the repository at this point in the history
PR-URL: #29850
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
  • Loading branch information
codebytere authored and Trott committed Oct 9, 2019
1 parent c0437d2 commit 6db45bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/node_worker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ class WorkerThreadData {
: w_(w) {
CHECK_EQ(uv_loop_init(&loop_), 0);

Isolate* isolate = NewIsolate(w->array_buffer_allocator_.get(), &loop_);
Isolate* isolate = NewIsolate(
w->array_buffer_allocator_.get(),
&loop_,
w->platform_);
CHECK_NOT_NULL(isolate);

{
Expand Down

0 comments on commit 6db45bf

Please sign in to comment.