aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/exline.go
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2022-09-25 14:38:45 -0500
committerRobin Jarry <robin@jarry.cc>2022-09-26 17:31:53 +0200
commit716ade89687150daadbb41bdec4a00d6d6e34193 (patch)
tree0b2df53ac8501363b74d100fc56732771ffe1b6a /widgets/exline.go
parentc8c4b8c7cbfa4e05b8c96a5449188823d08fb9c4 (diff)
downloadaerc-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/exline.go')
0 files changed, 0 insertions, 0 deletions