document that

This commit is contained in:
Erica Z 2024-11-19 18:59:22 +01:00
parent cc35e1f5be
commit 79f0e3d978

View file

@ -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; let _ = sender.send(perform(future.await).await).await;
}); });