From 7f22554792d06807a4265a00e739d2f786e7810b Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sat, 28 Nov 2009 16:36:56 +0000 Subject: [PATCH] remove unused code git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15700 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core_memory.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/switch_core_memory.c b/src/switch_core_memory.c index 4a0ad30423..8b328e6c38 100644 --- a/src/switch_core_memory.c +++ b/src/switch_core_memory.c @@ -569,12 +569,8 @@ void switch_core_memory_stop(void) 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 }