aerc/worker/notmuch
Nguyễn Gia Phong 904ffacb0e maildir,notmuch: avoid leaking open files
Previously, Message.NewReader returned the wrapped buffered reader
without a reference to the opened file, so the files descriptors
were left unclosed after reading.  Now, the file reader is returned
directly and closed on the call site.  Buffering is not needed here
because it is an implementation detail of go-message.

Fixes: https://todo.sr.ht/~rjarry/aerc/9
2022-01-19 20:18:00 +01:00
..
lib format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
eventhandlers.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
events.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
message.go maildir,notmuch: avoid leaking open files 2022-01-19 20:18:00 +01:00
worker.go maildir,notmuch: avoid leaking open files 2022-01-19 20:18:00 +01:00