document that
This commit is contained in:
parent
cc35e1f5be
commit
79f0e3d978
1 changed files with 5 additions and 0 deletions
|
@ -204,6 +204,11 @@ impl Client {
|
|||
})
|
||||
}
|
||||
|
||||
// this Result is only an error if the main loop future was cancelled
|
||||
// therefore it's safe to just drop it
|
||||
// note that in general its fine not to cancel the tokio task when its corresponding
|
||||
// mainloop task is dropped, since eg for song thumbnails there's already a semaphore
|
||||
// limiting concurrent requests
|
||||
let _ = sender.send(perform(future.await).await).await;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue