]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7148 #resolve #comment declinatio mortuus obfirmo!
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 13 Jan 2015 05:20:39 +0000 (23:20 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 13 Jan 2015 05:20:39 +0000 (23:20 -0600)
src/switch_ivr_async.c

index 21180d789fbac8319a4492bbaa915040553f1e54..204b8fbe5c4062a779b98698c018d596153bea5f 100644 (file)
@@ -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;
                }