[Freeswitch-svn] [commit] r10585 - freeswitch/trunk/libs/libdingaling/src

FreeSWITCH SVN anthm at freeswitch.org
Wed Dec 3 18:42:10 PST 2008


Author: anthm
Date: Wed Dec  3 21:42:09 2008
New Revision: 10585

Log:
update

Modified:
   freeswitch/trunk/libs/libdingaling/src/libdingaling.c

Modified: freeswitch/trunk/libs/libdingaling/src/libdingaling.c
==============================================================================
--- freeswitch/trunk/libs/libdingaling/src/libdingaling.c	(original)
+++ freeswitch/trunk/libs/libdingaling/src/libdingaling.c	Wed Dec  3 21:42:09 2008
@@ -1571,6 +1571,10 @@
 		ldl_clear_flag_locked(handle, LDL_FLAG_CONNECTED);
 		ldl_clear_flag_locked(handle, LDL_FLAG_AUTHORIZED);
 		handle->state = CS_NEW;
+
+		while(ldl_test_flag(handle, LDL_FLAG_QUEUE_RUNNING)) {
+			microsleep(100);
+		}
 	}
 	ldl_clear_flag_locked(handle, LDL_FLAG_RUNNING);
 	if (!ldl_test_flag(handle, LDL_FLAG_TLS)) {



More information about the Freeswitch-svn mailing list