Start a new session on credentials change

This commit is contained in:
Jarkko Lehtoranta 2023-06-13 18:04:01 +03:00
parent 02c9be368d
commit c60c4f4c8c
No known key found for this signature in database
GPG key ID: E539048C587D1F09

View file

@ -1762,6 +1762,9 @@ async fn main() {
// Continue shutdown in its own task // Continue shutdown in its own task
tokio::spawn(spirc_task); tokio::spawn(spirc_task);
} }
if !session.is_invalid() {
session.shutdown();
}
connecting = true; connecting = true;
}, },