aboutsummaryrefslogtreecommitdiff
path: root/src/statistics
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-08-22 12:49:56 +0000
committerChristian Grothoff <christian@grothoff.org>2016-08-22 12:49:56 +0000
commit9c00e8239e2830a104fd97f5e93ddfc48227ca08 (patch)
treee86665abf07b82ddde6f8aa5d4511e0b3d9b74a3 /src/statistics
parentce1a6574b9f59807b1751ed2f5b85bdc70c6aef0 (diff)
downloadgnunet-9c00e8239e2830a104fd97f5e93ddfc48227ca08.tar.gz
gnunet-9c00e8239e2830a104fd97f5e93ddfc48227ca08.zip
-fix shutdown issue
Diffstat (limited to 'src/statistics')
-rw-r--r--src/statistics/statistics_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c
index acaa1cc45..f72c8525b 100644
--- a/src/statistics/statistics_api.c
+++ b/src/statistics/statistics_api.c
@@ -921,6 +921,7 @@ GNUNET_STATISTICS_destroy (struct GNUNET_STATISTICS_Handle *h,
921 return; 921 return;
922 GNUNET_assert (GNUNET_NO == h->do_destroy); /* Don't call twice. */ 922 GNUNET_assert (GNUNET_NO == h->do_destroy); /* Don't call twice. */
923 if ( (sync_first) && 923 if ( (sync_first) &&
924 (0 != GNUNET_MQ_get_length (h->mq)) &&
924 (GNUNET_YES == try_connect (h)) ) 925 (GNUNET_YES == try_connect (h)) )
925 { 926 {
926 if ( (NULL != h->current) && 927 if ( (NULL != h->current) &&