~sircmpwn/aerc

310bec27024579e7ada35585b3190ab875540804 — Kevin Kuehler 1 year, 3 months ago be4ea0d
widgets/msgview: Reap the filter command

The filter command shells out and returns almost immediately. Call
Wait() so the filter process gets reaped. Prior to this patch, aerc
creates a zombie process for every email that is viewed.

Signed-off-by: Kevin Kuehler <keur@xcf.berkeley.edu>
1 files changed, 1 insertions(+), 0 deletions(-)

M widgets/msgviewer.go
M widgets/msgviewer.go => widgets/msgviewer.go +1 -0
@@ 537,6 537,7 @@ func (pv *PartViewer) attemptCopy() {
			go func() {
				<-ch
				<-ch
				pv.filter.Wait()
				pv.pagerin.Close()
			}()
		}