🐛 Save conf lock
This commit is contained in:
parent
abd61108d8
commit
6fa4245819
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ func (conf *AppConf) Save() {
|
|||
}
|
||||
|
||||
confSaveLock.Lock()
|
||||
confSaveLock.Unlock()
|
||||
defer confSaveLock.Unlock()
|
||||
|
||||
newData, _ := gulu.JSON.MarshalIndentJSON(Conf, "", " ")
|
||||
confPath := filepath.Join(util.ConfDir, "conf.json")
|
||||
|
|
Loading…
Add table
Reference in a new issue