Skip to content

Commit

Permalink
fixup! fix flaky test with debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
dygabo committed May 7, 2024
1 parent a25aab1 commit 7659901
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/handle_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,9 @@ void HandleWrap::OnClose(uv_handle_t* handle) {

if (!env->isolate()->IsExecutionTerminating() &&
!wrap->persistent().IsEmpty() &&
wrap->object()->Has(env->context(), env->handle_onclose_symbol())
.FromMaybe(false)) {
wrap->object()
->Has(env->context(), env->handle_onclose_symbol())
.FromMaybe(false)) {
wrap->MakeCallback(env->handle_onclose_symbol(), 0, nullptr);
}
}
Expand Down

0 comments on commit 7659901

Please sign in to comment.