WIP Stop MPDHandler thread on failed auth
This commit is contained in:
parent
796ad86f19
commit
2ad82e68df
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue