summaryrefslogtreecommitdiff
path: root/apps/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 0936e85569..c36d61914b 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -543,12 +543,14 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter)
543#ifdef X5_BACKLIGHT_SHUTDOWN 543#ifdef X5_BACKLIGHT_SHUTDOWN
544 x5_backlight_shutdown(); 544 x5_backlight_shutdown();
545#endif 545#endif
546#ifdef HAVE_TAGCACHE
546 if (!tagcache_prepare_shutdown()) 547 if (!tagcache_prepare_shutdown())
547 { 548 {
548 cancel_shutdown(); 549 cancel_shutdown();
549 gui_syncsplash(HZ, true, str(LANG_TAGCACHE_BUSY)); 550 gui_syncsplash(HZ, true, str(LANG_TAGCACHE_BUSY));
550 return false; 551 return false;
551 } 552 }
553#endif
552 554
553 gui_syncsplash(0, true, str(LANG_SHUTTINGDOWN)); 555 gui_syncsplash(0, true, str(LANG_SHUTTINGDOWN));
554 556