aboutsummaryrefslogtreecommitdiff
path: root/commands/account/move.go
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-05-19 09:50:14 +0000
committerDrew DeVault <sir@cmpwn.com>2019-05-19 11:51:18 -0400
commit7c6325977b55385bc65f0a08f4da8ed6dfede52a (patch)
tree0aac968a8ade4204e57463ec68de7048eaf04668 /commands/account/move.go
parenta15ea01cfb0a303355b2e6bb31e85ece0d048ac2 (diff)
lib/ui/ui: use atomic instead of channel
This makes it so an atomic `invalid` value is used instead of an unbuffered channel. When many invalidations kick in, a lot of values were sent to the channel. (Since OnInvalidate's callback can be run in any goroutine, we need to be careful about races here.)
Diffstat (limited to 'commands/account/move.go')
0 files changed, 0 insertions, 0 deletions