Explorar o código

Call release_lockfile() before exiting.

svn:r17679
Nick Mathewson %!s(int64=17) %!d(string=hai) anos
pai
achega
4911ec627b
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/or/main.c

+ 3 - 0
src/or/main.c

@@ -1963,6 +1963,9 @@ tor_free_all(int postfork)
   if (active_linked_connection_lst)
     smartlist_free(active_linked_connection_lst);
   tor_free(timeout_event);
+  if (!postfork) {
+    release_lockfile();
+  }
   /* Stuff in util.c and address.c*/
   if (!postfork) {
     escaped(NULL);