summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index e35f769a14..63363422ba 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1196,6 +1196,7 @@ static int ft_play_filename(char *dir, char *file, int attr)
1196/* These two functions are called by the USB and shutdown handlers */ 1196/* These two functions are called by the USB and shutdown handlers */
1197void tree_flush(void) 1197void tree_flush(void)
1198{ 1198{
1199 tc.browse = NULL; /* clear browse to prevent reentry to a possibly missing file */
1199#ifdef HAVE_TAGCACHE 1200#ifdef HAVE_TAGCACHE
1200 tagcache_shutdown(); 1201 tagcache_shutdown();
1201#endif 1202#endif