diff --git a/src/node_object_wrap.h b/src/node_object_wrap.h index c7fa3eb9b..43d311e43 100644 --- a/src/node_object_wrap.h +++ b/src/node_object_wrap.h @@ -48,7 +48,7 @@ class NODE_EXTERN ObjectWrap { if (!handle_.IsEmpty()) { assert(handle_.IsNearDeath()); handle_.ClearWeak(); - handle_->SetInternalField(0, v8::Undefined()); + handle_->SetPointerInInternalField(0, 0); handle_.Dispose(); handle_.Clear(); }