Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a711304

Browse filesBrowse files
codebytereBridgeAR
authored andcommitted
worker: do not use two-arg NewIsolate
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>
1 parent df218ce commit a711304
Copy full SHA for a711304

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Open diff view settings
Collapse file

‎src/node_worker.cc‎

Copy file name to clipboardExpand all lines: src/node_worker.cc
+4-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.