LIBDING-13

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12612 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2009-03-15 16:56:15 +00:00
1 parent 4db6814d75
commit c015af04d3
5 files changed
+17 -6

No files matched your search

@@ -1868,10 +1868,11 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_dingaling_shutdown)
if (globals.running) {
int x = 0;
globals.running = 0;
ldl_global_terminate();
while (globals.handles > 0) {
switch_yield(100000);
x++;
if (x > 10) {
if (x > 100) {
break;
}
}