summaryrefslogtreecommitdiff
path: root/apps/database.c
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-07-03 22:53:47 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-07-03 22:53:47 +0000
commitda326050de95a8fcc46c789c64099671f18c9312 (patch)
tree5971adf8bc9a345181e6383b6875895260666608 /apps/database.c
parent75d16eeb5a7eae9f820b28f6f1970231807aa73a (diff)
downloadrockbox-da326050de95a8fcc46c789c64099671f18c9312.tar.gz
rockbox-da326050de95a8fcc46c789c64099671f18c9312.zip
forgot about the shutdown event hooks..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7004 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/database.c')
-rw-r--r--apps/database.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/database.c b/apps/database.c
index 600e58232f..0d0caebdc2 100644
--- a/apps/database.c
+++ b/apps/database.c
@@ -393,8 +393,11 @@ void rundb_shutdown(void)
393 if (rundb_fd >= 0) 393 if (rundb_fd >= 0)
394 close(rundb_fd); 394 close(rundb_fd);
395 rundb_initialized = 0; 395 rundb_initialized = 0;
396#if CONFIG_HWCODEC == MASNONE
396 audio_set_track_buffer_event(NULL); 397 audio_set_track_buffer_event(NULL);
397 audio_set_track_unbuffer_event(NULL); 398 audio_set_track_unbuffer_event(NULL);
399 audio_set_track_changed_event(NULL);
400#endif
398} 401}
399 402
400void writerundbheader(void) 403void writerundbheader(void)