From 46fd0c3c8b7de4fe553461c7c6d774a3b80d048d Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Thu, 25 Feb 2016 11:57:23 -0800 Subject: [PATCH] Tear down resolver before others. --- adsbus/adsbus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/adsbus/adsbus.c b/adsbus/adsbus.c index e15f853..8bacc81 100644 --- a/adsbus/adsbus.c +++ b/adsbus/adsbus.c @@ -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();