Skip to content

Commit 6da0a39

Browse files
jasnellbnoordhuis
authored andcommitted
Remove the _WIN32 guards from uv__threadpool_cleanup
Fixes: libuv#2980 Refs: nodejs/node#35021 Signed-off-by: James M Snell <jasnell@gmail.com>
1 parent 9c3d692 commit 6da0a39

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/threadpool.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ static void post(QUEUE* q, enum uv__work_kind kind) {
161161

162162

163163
void uv__threadpool_cleanup(void) {
164-
#ifndef _WIN32
165164
unsigned int i;
166165

167166
if (nthreads == 0)
@@ -181,7 +180,6 @@ void uv__threadpool_cleanup(void) {
181180

182181
threads = NULL;
183182
nthreads = 0;
184-
#endif
185183
}
186184

187185

0 commit comments

Comments
 (0)