From 751c41b7546e19d39ccfb51091c518d32f6bfa2b Mon Sep 17 00:00:00 2001 From: jrl Date: Mon, 30 Oct 2006 11:19:09 +0000 Subject: [PATCH] 2006-10-30 James Livingston * rhythmdb/rhythmdb.c: make the DB busy when processing files. From #349148 --- ChangeLog | 4 ++++ rhythmdb/rhythmdb.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 38a150ee..147034c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-10-30 James Livingston + + * rhythmdb/rhythmdb.c: make the DB busy when processing files. From #349148 + 2006-10-30 Jonathan Matthew * shell/rb-shell-player.c: (rb_shell_player_class_init), diff --git a/rhythmdb/rhythmdb.c b/rhythmdb/rhythmdb.c index d681a89f..1b8f1c9d 100644 --- a/rhythmdb/rhythmdb.c +++ b/rhythmdb/rhythmdb.c @@ -3624,7 +3624,11 @@ queue_is_empty (GAsyncQueue *queue) gboolean rhythmdb_is_busy (RhythmDB *db) { - return (!db->priv->action_thread_running || !queue_is_empty (db->priv->event_queue)); + return (!db->priv->action_thread_running || + !queue_is_empty (db->priv->event_queue) || + !queue_is_empty (db->priv->action_queue) || + (db->priv->stat_handle != NULL) || + (db->priv->outstanding_stats != NULL)); } /** -- 2.11.4.GIT