diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-09-25 14:38:45 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-09-26 17:31:53 +0200 |
commit | 716ade89687150daadbb41bdec4a00d6d6e34193 (patch) | |
tree | 0b2df53ac8501363b74d100fc56732771ffe1b6a /widgets | |
parent | c8c4b8c7cbfa4e05b8c96a5449188823d08fb9c4 (diff) | |
download | aerc-716ade89687150daadbb41bdec4a00d6d6e34193.tar.gz |
worker: lock access to callback maps
Worker callbacks are inherently set and called from different
goroutines. Protect access to all callback maps with a mutex.
Signed-off-by: Moritz Poldrack <moritz@poldrack.dev>
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'widgets')
0 files changed, 0 insertions, 0 deletions