ObjectWraps should be MarkIndependent

pull/5370/head
Ryan Dahl 2011-09-05 14:40:30 -07:00
parent ece5c64504
commit 061811f328
1 changed files with 1 additions and 0 deletions

View File

@ -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.