diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/or/ntmain.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/ntmain.c b/src/or/ntmain.c index 4c65805b32..0e6f296d24 100644 --- a/src/or/ntmain.c +++ b/src/or/ntmain.c @@ -293,6 +293,7 @@ nt_service_body(int argc, char **argv) * event loop */ service_status.dwCurrentState = SERVICE_RUNNING; service_fns.SetServiceStatus_fn(hStatus, &service_status); + set_main_thread(); do_main_loop(); tor_cleanup(); } |