From: Anthony Minessale Date: Sat, 28 Nov 2009 16:36:56 +0000 (+0000) Subject: remove unused code X-Git-Tag: v1.0.6~1220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f22554792d06807a4265a00e739d2f786e7810b;p=thirdparty%2Ffreeswitch.git remove unused code git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15700 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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 }