From da326050de95a8fcc46c789c64099671f18c9312 Mon Sep 17 00:00:00 2001 From: Michiel Van Der Kolk Date: Sun, 3 Jul 2005 22:53:47 +0000 Subject: forgot about the shutdown event hooks.. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7004 a1c6a512-1295-4272-9138-f99709370657 --- apps/database.c | 3 +++ 1 file changed, 3 insertions(+) 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) if (rundb_fd >= 0) close(rundb_fd); rundb_initialized = 0; +#if CONFIG_HWCODEC == MASNONE audio_set_track_buffer_event(NULL); audio_set_track_unbuffer_event(NULL); + audio_set_track_changed_event(NULL); +#endif } void writerundbheader(void) -- cgit v1.2.3