mirror of https://github.com/nodejs/node.git
ObjectWraps should be MarkIndependent
parent
ece5c64504
commit
061811f328
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue