Update buffer files when synchronizing buffers
It's possible that the host was disconnected when attempting to notify guests of a file save, so we need to transmit this in order to correctly update the file's mtime. Next failing seed OPERATIONS=200 SEED=6894
This commit is contained in:
parent
1dd085fc92
commit
789bbf15b7
5 changed files with 35 additions and 16 deletions
|
@ -216,7 +216,7 @@ impl WorkspaceDb {
|
|||
let mut result = Vec::new();
|
||||
let mut delete_tasks = Vec::new();
|
||||
for (id, location) in self.recent_workspaces()? {
|
||||
if location.paths().iter().all(|path| dbg!(path).exists()) {
|
||||
if location.paths().iter().all(|path| path.exists()) {
|
||||
result.push((id, location));
|
||||
} else {
|
||||
delete_tasks.push(self.delete_stale_workspace(id));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue