summaryrefslogtreecommitdiff
path: root/src/handle_wrap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/handle_wrap.cc')
-rw-r--r--src/handle_wrap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc
index 3df1e497d3..245c0e10ad 100644
--- a/src/handle_wrap.cc
+++ b/src/handle_wrap.cc
@@ -130,7 +130,7 @@ void HandleWrap::OnClose(uv_handle_t* handle) {
}
object->SetAlignedPointerInInternalField(0, NULL);
- wrap->persistent().Dispose();
+ wrap->persistent().Reset();
delete wrap;
}