unit tests and fixes
This commit is contained in:
@ -187,10 +187,9 @@ auto file_manager::evict_file(const std::string &api_path) -> bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
open_file_lookup_.erase(api_path);
|
open_file_lookup_.erase(api_path);
|
||||||
|
|
||||||
auto allocated = closeable_file ? closeable_file->get_allocated() : true;
|
|
||||||
open_lock.unlock();
|
open_lock.unlock();
|
||||||
|
|
||||||
|
auto allocated = closeable_file ? closeable_file->get_allocated() : true;
|
||||||
closeable_file.reset();
|
closeable_file.reset();
|
||||||
|
|
||||||
auto removed = remove_source_and_shrink_cache(api_path, source_path, fsi.size,
|
auto removed = remove_source_and_shrink_cache(api_path, source_path, fsi.size,
|
||||||
|
Reference in New Issue
Block a user