Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2019-03-13 12:59:26 +0300
committerMichaël Zasso <targos@protonmail.com>2019-03-15 17:59:00 +0300
commitc32615ccac2598ece644789feadcd225713946d7 (patch)
treebd9f69cb65fc734e913b5061b45d3eda519a60d0 /src/node_object_wrap.h
parent169b7f1f3b3751289f24678930e6a5731464ebc9 (diff)
src: remove usage of deprecated IsNearDeath
Refs: https://github.com/v8/v8/commit/06193b0b796124eb53bd8779965db61b4f82c770 PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'src/node_object_wrap.h')
-rw-r--r--src/node_object_wrap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_object_wrap.h b/src/node_object_wrap.h
index 96b9115adac..6753a703536 100644
--- a/src/node_object_wrap.h
+++ b/src/node_object_wrap.h
@@ -38,7 +38,6 @@ class ObjectWrap {
virtual ~ObjectWrap() {
if (persistent().IsEmpty())
return;
- assert(persistent().IsNearDeath());
persistent().ClearWeak();
persistent().Reset();
}