浏览代码

core: destroy RPCs on exit

Andrei Pelinescu-Onciul 16 年之前
父节点
当前提交
5613103361
共有 1 个文件被更改,包括 1 次插入0 次删除
  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();