-/**
- * Function called on shutdown, disconnects from DHT if necessary.
- *
- * @param cls closure (unused)
- * @param tc Task Context
- */
-static void
-shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
-{
- if (verbose)
- FPRINTF (stderr, "%s", "Shutting down!\n");
- if (dht_handle != NULL)
- {
- GNUNET_DHT_disconnect (dht_handle);
- dht_handle = NULL;
- }
-}
-
-