forgot a spot to call conditional broadcast on shutdown

This commit is contained in:
Anthony Minessale 2010-09-15 17:04:43 -05:00
parent 6a0f7f4ae8
commit 3eb35a57bf

View File

@ -1673,6 +1673,7 @@ void switch_core_sqldb_stop(void)
switch_queue_push(sql_manager.sql_queue[0], NULL);
switch_queue_push(sql_manager.sql_queue[1], NULL);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Waiting for unfinished SQL transactions\n");
switch_thread_cond_broadcast(sql_manager.cond);
}
sql_manager.thread_running = -1;