diff options
Diffstat (limited to 'src/node_object_wrap.h')
-rw-r--r-- | src/node_object_wrap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_object_wrap.h b/src/node_object_wrap.h index 1dae7e3f09..d1826c8609 100644 --- a/src/node_object_wrap.h +++ b/src/node_object_wrap.h @@ -50,7 +50,7 @@ class NODE_EXTERN ObjectWrap { if (!handle_.IsEmpty()) { assert(handle_.IsNearDeath(node_isolate)); handle_.ClearWeak(node_isolate); - handle_->SetInternalField(0, v8::Undefined()); + handle_->SetAlignedPointerInInternalField(0, 0); handle_.Dispose(node_isolate); handle_.Clear(); } |