提交 3eb35a57 authored 作者: Anthony Minessale's avatar Anthony Minessale

forgot a spot to call conditional broadcast on shutdown

上级 6a0f7f4a
...@@ -1673,6 +1673,7 @@ void switch_core_sqldb_stop(void) ...@@ -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[0], NULL);
switch_queue_push(sql_manager.sql_queue[1], 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_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; sql_manager.thread_running = -1;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论