From 879fe24200b5e0e451dbc4f8fa76cf240d0b7eec Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 19 Apr 2012 19:36:30 +0000 Subject: [PATCH] -fix shutdown of server --- src/util/server.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.25.1