Remove a couple debug prints that slipped in

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10318 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Andrew Thompson 2008-11-10 19:47:52 +00:00
parent 7dc1a95f6f
commit 8515c087a8
1 changed files with 0 additions and 6 deletions

View File

@ -302,23 +302,17 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_erlang_event_shutdown)
prefs.done = 1; prefs.done = 1;
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "prefs.done: %d\n", prefs.done);
switch_log_unbind_logger(socket_logger); switch_log_unbind_logger(socket_logger);
/*close_socket(&listen_list.sockfd);*/ /*close_socket(&listen_list.sockfd);*/
while (prefs.threads || prefs.done == 1) { while (prefs.threads || prefs.done == 1) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "prefs.done: %d\n", prefs.done);
switch_yield(10000); switch_yield(10000);
if (++sanity == 1000) { if (++sanity == 1000) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Hung Thread!\n");
break; break;
} }
} }
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "prefs.done: %d\n", prefs.done);
switch_event_unbind(&globals.node); switch_event_unbind(&globals.node);
switch_mutex_lock(globals.listener_mutex); switch_mutex_lock(globals.listener_mutex);