mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-06 03:50:06 +02:00
Prevent a few potential panics
This commit is contained in:
parent
e51f475a00
commit
9b6e02fa0d
4 changed files with 15 additions and 3 deletions
|
@ -418,7 +418,7 @@ pub(super) async fn audio_file_fetch(
|
|||
None => break,
|
||||
}
|
||||
}
|
||||
data = file_data_rx.recv() => {
|
||||
data = file_data_rx.recv() => {
|
||||
match data {
|
||||
Some(data) => {
|
||||
if fetch.handle_file_data(data)? == ControlFlow::Break {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue