mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-05-08 22:39:33 +01:00
fixed cspot crash when switching with LMS
This commit is contained in:
@@ -55,7 +55,8 @@ void SpircController::disconnect(void) {
|
||||
player->cancelCurrentTrack();
|
||||
state->setActive(false);
|
||||
notify();
|
||||
sendEvent(CSpotEventType::DISC);
|
||||
// Send the event at the end at it might be a last gasp
|
||||
sendEvent(CSpotEventType::DISC);
|
||||
}
|
||||
|
||||
void SpircController::playToggle() {
|
||||
|
||||
Reference in New Issue
Block a user