Fix panic after usb extraction if lastfm logging is enabled.
Previously the scrobbler was shutdown, probably to force a log flush, and the cache was re-allocated afterwards. Now don't shut down or re-allocate, but instead rely on the ata idle callback which is called called on usb insertion to do the log flush. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30325 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
480f9b8bf9
commit
1da1b70e26
1 changed files with 0 additions and 2 deletions
|
@ -239,7 +239,6 @@ bool settings_parseline(char* line, char** name, char** value)
|
|||
|
||||
static void system_flush(void)
|
||||
{
|
||||
scrobbler_shutdown();
|
||||
playlist_shutdown();
|
||||
tree_flush();
|
||||
call_storage_idle_notifys(true); /*doesnt work on usb and shutdown from ata thread */
|
||||
|
@ -248,7 +247,6 @@ static void system_flush(void)
|
|||
static void system_restore(void)
|
||||
{
|
||||
tree_restore();
|
||||
scrobbler_init();
|
||||
}
|
||||
|
||||
static bool clean_shutdown(void (*callback)(void *), void *parameter)
|
||||
|
|
Loading…
Reference in a new issue