[Freeswitch-svn] [commit] r10426 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Mon Nov 17 09:53:58 PST 2008


Author: anthm
Date: Mon Nov 17 12:53:57 2008
New Revision: 10426

Log:
fix FSCORE-225

Modified:
   freeswitch/trunk/src/switch_ivr_async.c

Modified: freeswitch/trunk/src/switch_ivr_async.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_async.c	(original)
+++ freeswitch/trunk/src/switch_ivr_async.c	Mon Nov 17 12:53:57 2008
@@ -1577,6 +1577,10 @@
 		char *xmlstr = NULL;
 
 		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) {
 			switch_event_t *event;
 



More information about the Freeswitch-svn mailing list