mirror of
https://github.com/Dummi26/musicdb.git
synced 2025-03-10 14:13:53 +01:00
don't count finished thread as "running" in cache manager
This commit is contained in:
parent
353fe7f984
commit
ee18df56cd
@ -88,7 +88,7 @@ impl Song {
|
||||
let mut cd = self.cached_data.0.lock().unwrap();
|
||||
match cd.0.as_ref() {
|
||||
None => (),
|
||||
Some(Err(_)) => return Err(true),
|
||||
Some(Err(t)) => return Err(!t.is_finished()),
|
||||
Some(Ok(_)) => return Err(false),
|
||||
};
|
||||
let src = if let Some(dlcon) = &db.remote_server_as_song_file_source {
|
||||
|
Loading…
Reference in New Issue
Block a user