Skip to content

Commit 9acdc4f

Browse files
committed
Remove workaround on macos libuv.
1 parent a4e0546 commit 9acdc4f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/loaders/node_loader/source/node_loader_impl.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4018,12 +4018,14 @@ void *node_loader_impl_register(void *node_impl_ptr, void *env_ptr, void *functi
40184018

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

40284030
#if (!defined(NDEBUG) || defined(DEBUG) || defined(_DEBUG) || defined(__DEBUG) || defined(__DEBUG__))
40294031
node_loader_impl_print_handles(node_impl);

0 commit comments

Comments
 (0)