From 3f4f4bfc2922b7c72f463bb93a6b8f188a1f49d0 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 6 Mar 2014 01:36:40 +0000 Subject: [PATCH] - fix scheduler clearance --- src/mesh/test_mesh_small.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesh/test_mesh_small.c b/src/mesh/test_mesh_small.c index 0be5216e2..afd33b8b9 100644 --- a/src/mesh/test_mesh_small.c +++ b/src/mesh/test_mesh_small.c @@ -655,6 +655,7 @@ stats_connect_cb (void *cls, return; } + GNUNET_log (GNUNET_ERROR_TYPE_INFO, "stats for peer %u\n", cls); stats = ca_result; stats_get = GNUNET_STATISTICS_get (stats, "mesh", NULL, @@ -680,6 +681,8 @@ check_keepalives (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) if ((GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason) != 0) return; + disconnect_task = GNUNET_SCHEDULER_NO_TASK; + GNUNET_log (GNUNET_ERROR_TYPE_INFO, "check keepalives\n"); GNUNET_MESH_channel_destroy (ch); stats_op = GNUNET_TESTBED_service_connect (NULL, testbed_peers[0], -- 2.25.1