Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix C++ lint issues
  • Loading branch information
vmoroz committed Mar 4, 2022
commit 63532d7960ffda29080d0353817b98756770c55c
3 changes: 2 additions & 1 deletion src/js_native_api_v8.cc
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,8 @@ void Reference::SecondPassCallback(
return;
}
reference->_secondPassParameter = nullptr;
v8impl::RefTracker::FinalizeAll(&reference->_env->finalizing_queue, /*isEnvTeardown:*/false);
v8impl::RefTracker::FinalizeAll(
&reference->_env->finalizing_queue, /*isEnvTeardown:*/false);
}

} // end of namespace v8impl
Expand Down
3 changes: 2 additions & 1 deletion src/js_native_api_v8.h
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,8 @@ class TryCatch : public v8::TryCatch {
if (HasCaught()) {
_env->last_exception.Reset(_env->isolate, Exception());
} else {
v8impl::RefTracker::FinalizeAll(&_env->finalizing_queue, /*isEnvTeardown:*/false);
v8impl::RefTracker::FinalizeAll(
&_env->finalizing_queue, /*isEnvTeardown:*/false);
}
}

Expand Down