Merge branch 'auth-token-from-login5' of https://github.com/Gerrelt/librespot into auth-token-from-login5

Pulling commit: fix startup log
This commit is contained in:
gerrelt_m@hotmail.com 2023-12-09 13:12:11 +01:00
commit 87dddf2f0a

View file

@ -269,10 +269,10 @@ impl DiscoveryServer {
tokio::spawn(async {
let result = server
.with_graceful_shutdown(async {
debug!("Shutting down discovery server");
if close_rx.await.is_ok() {
debug!("unable to close discovery Rx channel completely");
if let Err(e) = close_rx.await {
debug!("unable to close discovery Rx channel completely: {e}");
}
debug!("Shutting down discovery server");
})
.await;