Skip to content

Commit

Permalink
fix thread confinement
Browse files Browse the repository at this point in the history
  • Loading branch information
ftl committed Apr 28, 2024
1 parent 6d303c2 commit 910c8a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/bandmap/bandmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,10 @@ func (m *Bandmap) SetVFO(vfo core.VFO) {
}

func (m *Bandmap) SetCallinfo(callinfo Callinfo) {
m.entries.SetCallinfo(callinfo)
m.do <- m.update
m.do <- func() {
m.entries.SetCallinfo(callinfo)
m.update()
}
}

func (m *Bandmap) Show() {
Expand Down

0 comments on commit 910c8a0

Please sign in to comment.