Skip to content

Commit 4996605

Browse files
juanarbolTrott
authored andcommitted
src: wrap line
1 parent 3eebb4b commit 4996605

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/async_wrap.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,7 @@ static void RegisterDestroyHook(const FunctionCallbackInfo<Value>& args) {
380380
p->env = Environment::GetCurrent(args);
381381
p->target.Reset(isolate, args[0].As<Object>());
382382
p->propBag.Reset(isolate, args[2].As<Object>());
383-
p->target.SetWeak(
384-
p, AsyncWrap::WeakCallback, WeakCallbackType::kParameter);
383+
p->target.SetWeak(p, AsyncWrap::WeakCallback, WeakCallbackType::kParameter);
385384
}
386385

387386

0 commit comments

Comments
 (0)