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:
Diffstat (limited to 'src/node_object_wrap.h')
-rw-r--r--src/node_object_wrap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_object_wrap.h b/src/node_object_wrap.h
index d387a2679c6..445a9e66c33 100644
--- a/src/node_object_wrap.h
+++ b/src/node_object_wrap.h
@@ -40,7 +40,7 @@ class ObjectWrap {
return;
assert(persistent().IsNearDeath());
persistent().ClearWeak();
- persistent().Dispose();
+ persistent().Reset();
}