mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
discovery::server: fix startup log
This commit is contained in:
parent
87389a825c
commit
098c056677
1 changed files with 3 additions and 3 deletions
|
@ -269,10 +269,10 @@ impl DiscoveryServer {
|
||||||
tokio::spawn(async {
|
tokio::spawn(async {
|
||||||
let result = server
|
let result = server
|
||||||
.with_graceful_shutdown(async {
|
.with_graceful_shutdown(async {
|
||||||
debug!("Shutting down discovery server");
|
if let Err(e) = close_rx.await {
|
||||||
if close_rx.await.is_ok() {
|
debug!("unable to close discovery Rx channel completely: {e}");
|
||||||
debug!("unable to close discovery Rx channel completely");
|
|
||||||
}
|
}
|
||||||
|
debug!("Shutting down discovery server");
|
||||||
})
|
})
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue