diff options
Diffstat (limited to 'src/node.cc')
-rw-r--r-- | src/node.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.cc b/src/node.cc index 2cfb2866b8..479130230b 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1723,7 +1723,7 @@ void GetActiveHandles(const FunctionCallbackInfo<Value>& args) { Local<String> owner_sym = env->owner_string(); for (auto w : *env->handle_wrap_queue()) { - if (w->persistent().IsEmpty() || (w->flags_ & HandleWrap::kUnref)) + if (w->persistent().IsEmpty() || !HandleWrap::HasRef(w)) continue; Local<Object> object = w->object(); Local<Value> owner = object->Get(owner_sym); |