mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Start a new session on credentials change
This commit is contained in:
parent
02c9be368d
commit
c60c4f4c8c
1 changed files with 3 additions and 0 deletions
|
@ -1762,6 +1762,9 @@ async fn main() {
|
|||
// Continue shutdown in its own task
|
||||
tokio::spawn(spirc_task);
|
||||
}
|
||||
if !session.is_invalid() {
|
||||
session.shutdown();
|
||||
}
|
||||
|
||||
connecting = true;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue