提交 c0f4e1d3 authored 作者: Anthony Minessale's avatar Anthony Minessale

tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12512 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 80159461
......@@ -368,9 +368,7 @@ SWITCH_DECLARE(void *) switch_core_perform_alloc(switch_memory_pool_t *pool, swi
SWITCH_DECLARE(void) switch_core_memory_reclaim(void)
{
#ifdef INSTANTLY_DESTROY_POOLS
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Recycled memory pool(s) disabled.\n");
#else
#if !defined(PER_POOL_LOCK) && !defined(INSTANTLY_DESTROY_POOLS)
switch_memory_pool_t *pool;
void *pop = NULL;
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Returning %d recycled memory pool(s)\n",
......@@ -384,6 +382,7 @@ SWITCH_DECLARE(void) switch_core_memory_reclaim(void)
apr_pool_destroy(pool);
}
#endif
return;
}
static void *SWITCH_THREAD_FUNC pool_thread(switch_thread_t *thread, void *obj)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论