Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
ObjectWraps should be MarkIndependent
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Sep 5, 2011
1 parent ece5c64 commit 061811f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/node_object_wrap.h
Expand Up @@ -67,6 +67,7 @@ class ObjectWrap {

inline void MakeWeak (void) {
handle_.MakeWeak(this, WeakCallback);
handle_.MarkIndependent();
}

/* Ref() marks the object as being attached to an event loop.
Expand Down

0 comments on commit 061811f

Please sign in to comment.