aerc/worker
Koni Marti 022bf1a11f imap: fix panic when sending multiple connect cmds
fixes the panic when the user sends multiple connect commands and is
already connected. The panic is caused by closing an already closed
channel. This happens when the idle re-init code is not executed, e.g.
when there's a return statement in the switch block.  A defer func()
before the switch block will prevent this. The existing behavior of only
creating a new idleStop channel when properly connected is preseverd.

Signed-off-by: Koni Marti <koni.marti@gmail.com>
2022-01-19 17:34:41 +01:00
..
handlers go.mod: change base git url 2021-11-05 10:21:45 +01:00
imap imap: fix panic when sending multiple connect cmds 2022-01-19 17:34:41 +01:00
lib go.mod: change base git url 2021-11-05 10:21:45 +01:00
maildir maildir: watch for message renames 2021-12-06 23:50:04 +01:00
notmuch format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
types messages: allow displaying email threads 2021-11-13 15:05:59 +01:00
handler_notmuch.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
worker.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
worker_enabled.go go.mod: change base git url 2021-11-05 10:21:45 +01:00