Modified: freeswitch/trunk/src/switch_core_memory.c (15699 => 15700)
--- freeswitch/trunk/src/switch_core_memory.c 2009-11-27 19:48:30 UTC (rev 15699)
+++ freeswitch/trunk/src/switch_core_memory.c 2009-11-28 16:36:56 UTC (rev 15700)
@@ -569,12 +569,8 @@
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Stopping memory pool queue.\n");
- memory_manager.pool_thread_running = -1;
+ memory_manager.pool_thread_running = 0;
switch_thread_join(&st, pool_thread_p);
-
- while (memory_manager.pool_thread_running) {
- switch_cond_next();
- }
#endif
}