Skip to content

Commit

Permalink
src: remove usage of deprecated IsNearDeath
Browse files Browse the repository at this point in the history
Refs: v8/v8@06193b0

PR-URL: #26630
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
targos authored and BethGriggs committed Apr 17, 2019
1 parent c07619d commit 84db29c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/node_object_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class ObjectWrap {
virtual ~ObjectWrap() {
if (persistent().IsEmpty())
return;
assert(persistent().IsNearDeath());
persistent().ClearWeak();
persistent().Reset();
}
Expand Down

0 comments on commit 84db29c

Please sign in to comment.