diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-09-29 16:27:05 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-10-02 18:58:52 +0200 |
commit | 8cd4770f329c749c801630d1ec29c2765e60a8e6 (patch) | |
tree | 904f2f7c05cdd112db2bbff76bb7ae18480e0b24 /commands/move-tab.go | |
parent | dc299cc8adda5c9fb7a0f6a7719f3e2cd0f1f443 (diff) | |
download | aerc-8cd4770f329c749c801630d1ec29c2765e60a8e6.tar.gz |
msgstore: fix data race on access to store.needsFlags
Flag fetching is debounced in the UI, creating a race condition where
fields are accessed in the AfterFunc. Protect the needsFlags field with
a mutex.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/move-tab.go')
0 files changed, 0 insertions, 0 deletions