Forráskód Böngészése

core: destroy RPCs on exit

Andrei Pelinescu-Onciul 16 éve
szülő
commit
5613103361
1 módosított fájl, 1 hozzáadás és 0 törlés
  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
 					 some process crashed and let it locked; this will
 					 allow an almost gracious shutdown */
 					 allow an almost gracious shutdown */
 #endif
 #endif
+	destroy_rpcs();
 	destroy_modules();
 	destroy_modules();
 #ifdef USE_DNS_CACHE
 #ifdef USE_DNS_CACHE
 	destroy_dns_cache();
 	destroy_dns_cache();