summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/database.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/database.c b/apps/database.c
index 600e582..0d0caeb 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)