Update FileManager.cpp
This commit is contained in:
parent
878022bc0d
commit
b6546fea66
@ -1025,7 +1025,9 @@ void FileManager::on_file_unlink(const FullLocalFileLocation &location) {
|
||||
}
|
||||
auto file_id = it->second;
|
||||
auto file_node = get_sync_file_node(file_id);
|
||||
CHECK(file_node);
|
||||
if (!file_node) {
|
||||
return;
|
||||
}
|
||||
file_node->drop_local_location();
|
||||
try_flush_node_info(file_node, "on_file_unlink");
|
||||
}
|
||||
|
Reference in New Issue
Block a user