diff options
-rw-r--r-- | src/handle_wrap.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc index f3a3555754..198b0456e7 100644 --- a/src/handle_wrap.cc +++ b/src/handle_wrap.cc @@ -128,6 +128,7 @@ void HandleWrap::OnClose(uv_handle_t* handle) { wrap->state_ = kClosed; wrap->OnClose(); + wrap->handle_wrap_queue_.Remove(); if (!wrap->persistent().IsEmpty() && wrap->object()->Has(env->context(), env->handle_onclose_symbol()) |