Skip to content

Commit

Permalink
Remove workaround on macos libuv.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Jun 5, 2023
1 parent a4e0546 commit 9acdc4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/loaders/node_loader/source/node_loader_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4018,12 +4018,14 @@ void *node_loader_impl_register(void *node_impl_ptr, void *env_ptr, void *functi

/* In MacOS, from the beginning it seems there is active requests, for avoiding issues when closing
* let's remove them from the base active handles */
/*
#if (defined(__APPLE__) && defined(__MACH__)) || defined(__MACOSX__)
if ((int64_t)(node_impl->thread_loop->active_reqs.count > 0))
{
--node_impl->base_active_handles;
}
#endif
*/

#if (!defined(NDEBUG) || defined(DEBUG) || defined(_DEBUG) || defined(__DEBUG) || defined(__DEBUG__))
node_loader_impl_print_handles(node_impl);
Expand Down

0 comments on commit 9acdc4f

Please sign in to comment.