]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
forgot a spot to call conditional broadcast on shutdown
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 15 Sep 2010 22:04:43 +0000 (17:04 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 15 Sep 2010 22:04:54 +0000 (17:04 -0500)
src/switch_core_sqldb.c

index d5a06f8aebb629955bcf1ba917db1397f07c20e9..4a53c8d1fdbbb12f545080391f8c9eb186ebcb10 100644 (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;