summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-11-16 13:17:37 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-11-16 13:17:37 +0000
commit7270e5eafd7dc54f5c85517dc8ddc04f077429ca (patch)
treeecc5ed4ce3a9d29063a46fcb4f108c8e3c80cbd1 /apps
parent36f623d2ca5b774ce18886f914b73a77a61012f3 (diff)
downloadrockbox-7270e5eafd7dc54f5c85517dc8ddc04f077429ca.tar.gz
rockbox-7270e5eafd7dc54f5c85517dc8ddc04f077429ca.tar.bz2
rockbox-7270e5eafd7dc54f5c85517dc8ddc04f077429ca.zip
Accept FS#11722 by Michael Hohmuth
Wait for the db to be ready before trying to to any runtime stats git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28608 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/tagtree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index 78c48b4d13..75caab01d4 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -652,6 +652,9 @@ static void tagtree_buffer_event(void *data)
logf("be:%s", id3->path);
+ while (! tagcache_is_usable())
+ yield();
+
if (!tagcache_find_index(&tcs, id3->path))
{
logf("tc stat: not found: %s", id3->path);