]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove unused code
authorAnthony Minessale <anthony.minessale@gmail.com>
Sat, 28 Nov 2009 16:36:56 +0000 (16:36 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sat, 28 Nov 2009 16:36:56 +0000 (16:36 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15700 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core_memory.c

index 4a0ad3042312b1f9eb6f1c33ac7d23c0bf06593f..8b328e6c38268ae945b40162d0bb10d962e10c49 100644 (file)
@@ -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
 }