diff --git a/src/mpd_handler.rs b/src/mpd_handler.rs index 6c80337..9f22bbd 100644 --- a/src/mpd_handler.rs +++ b/src/mpd_handler.rs @@ -505,6 +505,7 @@ impl MPDHandler { write_handle.can_authenticate = false; write_handle.dirty_flag.store(true, Ordering::Relaxed); write_handle.error_text = "Failed to authenticate to MPD".into(); + write_handle.stop_flag.store(true, Ordering::Relaxed); } PollState::CurrentSong | PollState::Status => { write_handle.can_get_status = false;