Quick fix unmount requests getting dropped when there's no sd card

custom
jacqueline 3 weeks ago
parent 22fd238ed2
commit 4d7893cb97
  1. 1
      src/tangara/audio/audio_fsm.cpp

@ -539,6 +539,7 @@ void Standby::react(const system_fsm::UnmountRequest& ev) {
sServices->bg_worker().Dispatch<void>([=]() {
auto db = sServices->database().lock();
if (!db) {
events::System().Dispatch(UnmountReady{.idle = ev.idle});
return;
}
auto& queue = sServices->track_queue();

Loading…
Cancel
Save