From 403d32ce907234056356051f9bcfb616c01bbc05 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 12 Jan 2015 23:20:39 -0600 Subject: [PATCH] FS-7148 #resolve #comment declinatio mortuus obfirmo! --- src/switch_ivr_async.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index 21180d789f..204b8fbe5c 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -1141,6 +1141,7 @@ static void *SWITCH_THREAD_FUNC recording_thread(switch_thread_t *thread, void * switch_yield(20000); continue; } else if ((!rh->thread_ready || switch_channel_down_nosig(channel)) && !inuse) { + switch_mutex_unlock(rh->buffer_mutex); break; }