summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/scrobbler.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/scrobbler.c b/apps/scrobbler.c
index f05bbdb..c109439 100644
--- a/apps/scrobbler.c
+++ b/apps/scrobbler.c
@@ -251,7 +251,10 @@ void scrobbler_shutdown(void)
{
#ifndef SIMULATOR
if (scrobbler_ata_callback)
+ {
unregister_ata_idle_func(scrobbler_flush_callback, false);
+ scrobbler_ata_callback = false;
+ }
#endif
scrobbler_flush_cache();