fixes and cleanup
This commit is contained in:
@@ -45,7 +45,7 @@ impl VideoCache {
|
||||
cache.remove(key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
pub fn entries(&self) -> Option<Vec<(String, (SystemTime, Vec<VideoItem>))>> {
|
||||
if let Ok(cache) = self.cache.lock() {
|
||||
// Return a cloned vector of the cache entries
|
||||
|
||||
Reference in New Issue
Block a user