This commit is contained in:
Liang Ding 2023-03-10 10:00:16 +08:00
parent f816d897c5
commit 71af3210ba
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

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()