fix FSCORE-225
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10426 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
47207ba3d8
commit
844e745fc8
|
@ -1577,6 +1577,10 @@ static void *SWITCH_THREAD_FUNC speech_thread(switch_thread_t *thread, void *obj
|
||||||
char *xmlstr = NULL;
|
char *xmlstr = NULL;
|
||||||
|
|
||||||
switch_thread_cond_wait(sth->cond, sth->mutex);
|
switch_thread_cond_wait(sth->cond, sth->mutex);
|
||||||
|
|
||||||
|
if(switch_test_flag(sth->ah, SWITCH_ASR_FLAG_CLOSED))
|
||||||
|
break;
|
||||||
|
|
||||||
if (switch_core_asr_check_results(sth->ah, &flags) == SWITCH_STATUS_SUCCESS) {
|
if (switch_core_asr_check_results(sth->ah, &flags) == SWITCH_STATUS_SUCCESS) {
|
||||||
switch_event_t *event;
|
switch_event_t *event;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue