mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-02 11:19:28 +00:00
forgot a spot to call conditional broadcast on shutdown
This commit is contained in:
parent
6a0f7f4ae8
commit
3eb35a57bf
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user