Revision
15700
Author
anthm
Date
2009-11-28 10:36:56 -0600 (Sat, 28 Nov 2009)

Log Message

remove unused code

Modified Paths

Diff

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
 }