Skip to content

Commit

Permalink
move logging line after s.Lock() in settings (#1228)
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism authored Nov 7, 2024
1 parent cc08de8 commit f322ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/settings/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -706,8 +706,8 @@ func (s *Settings) setVal(name SettingName, val interface{}) {
}

func (s *Settings) setVals(vals map[SettingName]interface{}) {
s.log.Debugf("Setting %v in %v", vals, s.m)
s.Lock()
s.log.Debugf("Setting %v in %v", vals, s.m)
for name, val := range vals {
s.m[name] = val
}
Expand Down

0 comments on commit f322ea8

Please sign in to comment.