[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24222 - gnunet/src/ats
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24222 - gnunet/src/ats |
Date: |
Mon, 8 Oct 2012 15:23:23 +0200 |
Author: grothoff
Date: 2012-10-08 15:23:23 +0200 (Mon, 08 Oct 2012)
New Revision: 24222
Modified:
gnunet/src/ats/ats_api_performance.c
Log:
-abort pending transmission before disconnect
Modified: gnunet/src/ats/ats_api_performance.c
===================================================================
--- gnunet/src/ats/ats_api_performance.c 2012-10-08 13:02:40 UTC (rev
24221)
+++ gnunet/src/ats/ats_api_performance.c 2012-10-08 13:23:23 UTC (rev
24222)
@@ -396,6 +396,11 @@
return;
reconnect:
GNUNET_CLIENT_disconnect (ph->client);
+ if (NULL != ph->th)
+ {
+ GNUNET_CLIENT_notify_transmit_ready_cancel (ph->th);
+ ph->th = NULL;
+ }
ph->client = NULL;
ph->task =
GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &reconnect_task,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24222 - gnunet/src/ats,
gnunet <=