Skip to content

Commit

Permalink
fixup! src,test: add full-featured embedder API test
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Sep 23, 2020
1 parent 1ee495d commit 30b6c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/embedding/embedtest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ int RunNodeInstance(MultiIsolatePlatform* platform,
std::shared_ptr<ArrayBufferAllocator> allocator =
ArrayBufferAllocator::Create();

Isolate* isolate = NewIsolate(allocator, &loop, platform);
Isolate* isolate = NewIsolate(allocator.get(), &loop, platform);
if (isolate == nullptr) {
fprintf(stderr, "%s: Failed to initialize V8 Isolate\n", args[0].c_str());
return 1;
Expand Down

0 comments on commit 30b6c2f

Please sign in to comment.