From a3e2deaf8f18e510c529bbf5877232b2186a58ec Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 16 Nov 2013 19:37:25 +0000 Subject: [PATCH] -fix shutdown --- src/conversation/conversation_api_call.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/conversation/conversation_api_call.c b/src/conversation/conversation_api_call.c index 4a671cbda..0d603e0ba 100644 --- a/src/conversation/conversation_api_call.c +++ b/src/conversation/conversation_api_call.c @@ -456,6 +456,11 @@ call_error_handler (void *cls, { struct GNUNET_CONVERSATION_Call *call = cls; + if (CS_SHUTDOWN == call->state) + { + GNUNET_CONVERSATION_call_stop (call); + return; + } GNUNET_break (0); GNUNET_log (GNUNET_ERROR_TYPE_ERROR, _("Internal MQ error %d\n"), -- 2.25.1