aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesh/mesh_api.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c
index c45017ae0..4f733c1d3 100644
--- a/src/mesh/mesh_api.c
+++ b/src/mesh/mesh_api.c
@@ -413,6 +413,11 @@ destroy_tunnel (struct GNUNET_MESH_Tunnel *t, int call_cleaner)
413 th = th->next; 413 th = th->next;
414 } 414 }
415 } 415 }
416 if (NULL == h->th_head && NULL != h->th)
417 {
418 GNUNET_CLIENT_notify_transmit_ready_cancel(h->th);
419 h->th = NULL;
420 }
416 GNUNET_CONTAINER_DLL_remove (h->tunnels_head, h->tunnels_tail, t); 421 GNUNET_CONTAINER_DLL_remove (h->tunnels_head, h->tunnels_tail, t);
417 for (i = 0; i < t->npeers; i++) 422 for (i = 0; i < t->npeers; i++)
418 { 423 {