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 <joyeec9h3@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
targos committed Mar 27, 2019
1 parent 1c1305d commit 925b645
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 925b645

Please sign in to comment.