From: Christian Grothoff Date: Thu, 19 Apr 2012 19:36:30 +0000 (+0000) Subject: -fix shutdown of server X-Git-Tag: initial-import-from-subversion-38251~13858 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=879fe24200b5e0e451dbc4f8fa76cf240d0b7eec;p=oweals%2Fgnunet.git -fix shutdown of server --- diff --git a/src/util/server.c b/src/util/server.c index fc96db802..5a2eee28d 100644 --- a/src/util/server.c +++ b/src/util/server.c @@ -1221,6 +1221,8 @@ GNUNET_SERVER_client_disconnect (struct GNUNET_SERVER_Client *client) if (client->persist == GNUNET_YES) GNUNET_CONNECTION_persist_ (client->connection); + if (NULL != client->th.cth) + GNUNET_SERVER_notify_transmit_ready_cancel (&client->th); GNUNET_CONNECTION_destroy (client->connection); if (client->server->mst_destroy != NULL)