Tear down resolver before others.

This commit is contained in:
Ian Gulliver
2016-02-25 11:57:23 -08:00
parent 6f082ecf32
commit 46fd0c3c8b

View File

@@ -121,6 +121,8 @@ int main(int argc, char *argv[]) {
peer_loop();
resolve_cleanup();
json_cleanup();
proto_cleanup();
@@ -130,7 +132,6 @@ int main(int argc, char *argv[]) {
outgoing_cleanup();
rand_cleanup();
resolve_cleanup();
wakeup_cleanup();
peer_cleanup();