diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-09-05 14:40:30 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-09-05 14:40:30 -0700 |
commit | 061811f3284d306598a50cbfddc1c5b35d9b31cb (patch) | |
tree | 2aa3a327702db072a18f67cac916e99093bf03ec /src/node_object_wrap.h | |
parent | ece5c6450425ee6e08d96117e3b1e1cfd4414715 (diff) | |
download | node-new-061811f3284d306598a50cbfddc1c5b35d9b31cb.tar.gz |
ObjectWraps should be MarkIndependent
Diffstat (limited to 'src/node_object_wrap.h')
-rw-r--r-- | src/node_object_wrap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_object_wrap.h b/src/node_object_wrap.h index b10755498a..016d59578f 100644 --- a/src/node_object_wrap.h +++ b/src/node_object_wrap.h @@ -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. |