1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 01:39:28 +02:00

Use futures::sync::mpsc::UnboundedSender::unbounded_send() instead of the deprecated send()

This commit is contained in:
Thomas Bächler 2018-01-21 20:38:30 +01:00
parent 5237203899
commit 630de8c0a9
6 changed files with 13 additions and 13 deletions

View file

@ -211,7 +211,7 @@ impl MercuryManager {
// if send fails, remove from list of subs
// TODO: send unsub message
sub.send(response.clone()).is_ok()
sub.unbounded_send(response.clone()).is_ok()
} else {
// URI doesn't match
true