aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/conversation/conversation_api.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conversation/conversation_api.c b/src/conversation/conversation_api.c
index 671315f74..9755a3cf0 100644
--- a/src/conversation/conversation_api.c
+++ b/src/conversation/conversation_api.c
@@ -359,6 +359,11 @@ reconnect_phone (struct GNUNET_CONVERSATION_Phone *phone)
359 struct GNUNET_MQ_Envelope *e; 359 struct GNUNET_MQ_Envelope *e;
360 struct ClientPhoneRegisterMessage *reg; 360 struct ClientPhoneRegisterMessage *reg;
361 361
362 if (PS_ACTIVE == phone->state)
363 {
364 phone->speaker->disable_speaker (phone->speaker->cls);
365 phone->mic->disable_microphone (phone->mic->cls);
366 }
362 if (NULL != phone->mq) 367 if (NULL != phone->mq)
363 { 368 {
364 GNUNET_MQ_destroy (phone->mq); 369 GNUNET_MQ_destroy (phone->mq);