diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2023-08-30 16:17:55 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-08-31 17:36:08 +0200 |
commit | 31488503aa0edf0962a9d90f5a093d346ea29f06 (patch) | |
tree | abd0fda0df1118f775338a2799da3a49db878810 /worker/jmap/cache/gob.go | |
parent | a5648c3c0468a27e722159a115a4260c5e84c465 (diff) | |
download | aerc-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/jmap/cache/gob.go')
0 files changed, 0 insertions, 0 deletions