summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 7b553a5960..1dbe9223b9 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1365,6 +1365,10 @@ void tree_flush(void)
tagcache_stop_scan();
playlist_shutdown();
+#ifdef HAVE_TC_RAMCACHE
+ tagcache_unload_ramcache();
+#endif
+
#ifdef HAVE_DIRCACHE
if (global_settings.dircache)
{
@@ -1387,6 +1391,10 @@ void tree_flush(void)
void tree_restore(void)
{
+#ifdef HAVE_EEPROM
+ firmware_settings.disk_clean = false;
+#endif
+
#ifdef HAVE_DIRCACHE
remove(DIRCACHE_FILE);
if (global_settings.dircache)