aboutsummaryrefslogtreecommitdiffstats
path: root/worker/mbox/io.go
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2023-08-30 16:17:55 -0500
committerRobin Jarry <robin@jarry.cc>2023-08-31 17:36:08 +0200
commit31488503aa0edf0962a9d90f5a093d346ea29f06 (patch)
treeabd0fda0df1118f775338a2799da3a49db878810 /worker/mbox/io.go
parenta5648c3c0468a27e722159a115a4260c5e84c465 (diff)
downloadaerc-31488503aa0edf0962a9d90f5a093d346ea29f06.tar.gz
notmuch: check context when opening directory
Check for a canceled context when opening a directory with notmuch. The OpenDirectory message carries a context tied to the directory lister - checking for the context error can prevent us from opening a directory that has already been deselected (even after the dirlist-delay period) Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/mbox/io.go')
0 files changed, 0 insertions, 0 deletions