-do not cancel on disconnect
authorChristian Grothoff <christian@grothoff.org>
Thu, 11 Aug 2016 17:25:23 +0000 (17:25 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 11 Aug 2016 17:25:23 +0000 (17:25 +0000)
src/fs/gnunet-service-fs_pe.c

index 098c3d180e09232430974bf5479387d6f66f2ba2..e8ce77904ea36b5c42bb51d78559f96da74138d6 100644 (file)
@@ -660,11 +660,6 @@ GSF_plan_notify_peer_disconnect_ (const struct GSF_ConnectedPeer *cp)
     GNUNET_SCHEDULER_cancel (pp->task);
     pp->task = NULL;
   }
-  if (NULL != pp->env)
-  {
-    GNUNET_MQ_send_cancel (pp->env);
-    pp->env = NULL;
-  }
   while (NULL != (rp = GNUNET_CONTAINER_heap_remove_root (pp->priority_heap)))
   {
     GNUNET_break (GNUNET_YES ==