diff options
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r-- | src/or/cpuworker.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c index 9fcf64bb0..ba7a0837a 100644 --- a/src/or/cpuworker.c +++ b/src/or/cpuworker.c @@ -127,8 +127,9 @@ int cpuworker_main(void *data) { close(fdarray[0]); /* this is the side of the socketpair the parent uses */ fd = fdarray[1]; /* this side is ours */ +#ifndef MS_WINDOWS connection_free_all(); /* so the child doesn't hold the parent's fd's open */ -/* XXX probably don't close all the fd's on MS_WINDOWS? */ +#endif for(;;) { |