-fix tests
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Fri, 16 Mar 2012 08:04:21 +0000 (08:04 +0000)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Fri, 16 Mar 2012 08:04:21 +0000 (08:04 +0000)
src/gns/test_gns_dht_delegated_lookup.c
src/gns/test_gns_simple_delegated_lookup.c

index f81a8d02830776e1f9b52640acfaf11cec5274ce..de393fa08e820f7ed8ee228bca7a7b8fd22bba4f 100644 (file)
@@ -150,6 +150,7 @@ on_lookup_result(void *cls, uint32_t rd_count,
       }
     }
   }
+  GNUNET_GNS_disconnect(gns_handle);
   GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Shutting down peer1!\n");
   GNUNET_TESTING_daemon_stop (d1, TIMEOUT, &shutdown_callback, NULL,
                               GNUNET_YES, GNUNET_NO);
index 244f9db2d54c6bf8631bf18eec0de55d0af4be7e..6a12ecfe050671af748f3bca7c69e4944cb9a434 100644 (file)
@@ -139,6 +139,7 @@ on_lookup_result(void *cls, uint32_t rd_count,
       }
     }
   }
+  GNUNET_GNS_disconnect(gns_handle);
   GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Shutting down peer1!\n");
   GNUNET_TESTING_daemon_stop (d1, TIMEOUT, &shutdown_callback, NULL,
                               GNUNET_YES, GNUNET_NO);