Restore async handle behaviour.
@@ -4944,6 +4944,8 @@ int64_t node_loader_impl_async_handles_count(loader_impl_node node_impl)
int64_t node_loader_impl_user_async_handles_count(loader_impl_node node_impl)
{
int64_t active_handles = node_loader_impl_async_handles_count(node_impl);
+
+ /*
int64_t closing =
#if defined(WIN32) || defined(_WIN32)
(node_impl->thread_loop->endgame_handles != NULL)
@@ -4951,6 +4953,7 @@ int64_t node_loader_impl_user_async_handles_count(loader_impl_node node_impl)
(node_impl->thread_loop->closing_handles != NULL)
#endif
;
+ */
/* TODO: Remove async handle logging temporally */
/*
@@ -4965,7 +4968,7 @@ int64_t node_loader_impl_user_async_handles_count(loader_impl_node node_impl)
#endif
*/
- return active_handles - node_impl->base_active_handles - node_impl->extra_active_handles.load() + (int64_t)(node_impl->thread_loop->active_reqs.count) + closing;
+ return active_handles - node_impl->base_active_handles - node_impl->extra_active_handles.load() + (int64_t)(node_impl->thread_loop->active_reqs.count) /*+ closing*/;
}
void node_loader_impl_print_handles(loader_impl_node node_impl)
