diff options
| author | ailurux <ailuruxx@gmail.com> | 2024-10-04 14:41:05 +1000 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2024-10-04 14:41:05 +1000 |
| commit | 7cc6f198cf437ae60185b65bfa556341be8ec63f (patch) | |
| tree | 5fc3e23a1041ba952fd2298b5d886fe03564890d /src/tangara/system_fsm/running.cpp | |
| parent | 39a5d062fc13ad81e91968e1c30b729ec606d934 (diff) | |
| download | tangara-fw-7cc6f198cf437ae60185b65bfa556341be8ec63f.tar.gz | |
Explicitly close the playlist files in the queue on storage unmount
Diffstat (limited to 'src/tangara/system_fsm/running.cpp')
| -rw-r--r-- | src/tangara/system_fsm/running.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tangara/system_fsm/running.cpp b/src/tangara/system_fsm/running.cpp index f065737b..227eac2c 100644 --- a/src/tangara/system_fsm/running.cpp +++ b/src/tangara/system_fsm/running.cpp @@ -214,6 +214,7 @@ void Running::react(const internal::Mount& ev) { auto Running::unmountStorage() -> void { ESP_LOGW(kTag, "unmounting storage"); + sServices->track_queue().close(); sServices->database({}); sStorage.reset(); updateSdState(drivers::SdState::kNotMounted); |
