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)
1365 tagcache_stop_scan(); 1365 tagcache_stop_scan();
1366 playlist_shutdown(); 1366 playlist_shutdown();
1367 1367
1368#ifdef HAVE_TC_RAMCACHE
1369 tagcache_unload_ramcache();
1370#endif
1371
1368#ifdef HAVE_DIRCACHE 1372#ifdef HAVE_DIRCACHE
1369 if (global_settings.dircache) 1373 if (global_settings.dircache)
1370 { 1374 {
@@ -1387,6 +1391,10 @@ void tree_flush(void)
1387 1391
1388void tree_restore(void) 1392void tree_restore(void)
1389{ 1393{
1394#ifdef HAVE_EEPROM
1395 firmware_settings.disk_clean = false;
1396#endif
1397
1390#ifdef HAVE_DIRCACHE 1398#ifdef HAVE_DIRCACHE
1391 remove(DIRCACHE_FILE); 1399 remove(DIRCACHE_FILE);
1392 if (global_settings.dircache) 1400 if (global_settings.dircache)