mirror of
https://github.com/ehang-io/nps.git
synced 2025-07-02 04:00:42 +00:00
sync file when save
This commit is contained in:
parent
b43bcb1c96
commit
ef3dc10215
@ -177,4 +177,5 @@ func storeSyncMapToFile(m sync.Map, filePath string) {
|
||||
}
|
||||
return true
|
||||
})
|
||||
file.Sync()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user