mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 18:29:45 +02:00
Use futures::sync::mpsc::UnboundedSender::unbounded_send() instead of the deprecated send()
This commit is contained in:
parent
5237203899
commit
630de8c0a9
6 changed files with 13 additions and 13 deletions
|
@ -340,7 +340,7 @@ impl Seek for AudioFileStreaming {
|
|||
// Notify the fetch thread to get the correct block
|
||||
// This can fail if fetch thread has completed, in which case the
|
||||
// block is ready. Just ignore the error.
|
||||
let _ = self.seek.send(self.position);
|
||||
let _ = self.seek.unbounded_send(self.position);
|
||||
Ok(self.position)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue