Call monotime_init() earlier.

We need to call it before nt_service_parse_options(), since
nt_service_parse_options() can call back into nt_service_main(),
which calls do_main_loop().

Fixes bug 21356; bugfix on 0.2.9.1-alpha.
This commit is contained in:
Nick Mathewson
2017-01-31 13:02:49 -05:00
parent 0d4d9b6d88
commit d183ec231b
2 changed files with 5 additions and 2 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (Windows services):
- Be sure to initialize the monotonic time subsystem before using it,
even when running as an NT service.
Fixes bug 21356; bugfix on 0.2.9.1-alpha.