diff options
author | Simon Ser <contact@emersion.fr> | 2019-04-28 13:26:22 +0000 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-04-29 09:49:39 -0400 |
commit | f1698a337eb2b511835cd6cc38bf76d8e776ffa1 (patch) | |
tree | 7f2506d4c28ea91ac5690b667b962a8df70aef46 /lib/ui/context.go | |
parent | 089740758c0f408a62de331990fe694d35bc8d1c (diff) |
widgets/msglist: fix MessageList.store race
This field could be written to in the middle of a Draw call, which reads it
multiple times. Use an atomic variable instead.
Diffstat (limited to 'lib/ui/context.go')
0 files changed, 0 insertions, 0 deletions