Browse Source

core: destroy RPCs on exit

Andrei Pelinescu-Onciul 16 years ago
parent
commit
5613103361
1 changed files with 1 additions and 0 deletions
  1. 1 0
      main.c

+ 1 - 0
main.c

@@ -496,6 +496,7 @@ void cleanup(show_status)
 					 some process crashed and let it locked; this will
 					 allow an almost gracious shutdown */
 #endif
+	destroy_rpcs();
 	destroy_modules();
 #ifdef USE_DNS_CACHE
 	destroy_dns_cache();