Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2023-03-10 10:00:35 +08:00
commit 0a5e373edf

View file

@ -488,6 +488,10 @@ func NewLute() (ret *lute.Lute) {
var confSaveLock = sync.Mutex{}
func (conf *AppConf) Save() {
if util.ReadOnly {
return
}
confSaveLock.Lock()
confSaveLock.Unlock()