Index: apps/scrobbler.c =================================================================== --- apps/scrobbler.c (revision 17530) +++ apps/scrobbler.c (working copy) @@ -251,7 +251,10 @@ { #ifndef SIMULATOR if (scrobbler_ata_callback) + { unregister_ata_idle_func(scrobbler_flush_callback, false); + scrobbler_ata_callback = false; + } #endif scrobbler_flush_cache();