diff options
author | Jose Lombera <jose@lombera.dev> | 2022-07-22 18:17:46 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-07-23 21:51:52 +0200 |
commit | c49a065496ed232399b31506031711d4c1f802e0 (patch) | |
tree | 8a34c41f6de7035b0eeac75976cf62e14d5e3576 /commands/msg/pipe.go | |
parent | 5dec1f09b1d4a642aff1f711c44eb12e61b6129c (diff) | |
download | aerc-c49a065496ed232399b31506031711d4c1f802e0.tar.gz |
msgviewer: cleanup PartSwitcher on :toggle-headers
Cleanup existing PartSwitcher before recreating a new one when command
:toggle-headers is executed, ensuring existing part pagers are cleaned
up. This fixes a leak in pager processes when :toggle-headers is
executed repeatedly without closing the message.
Signed-off-by: Jose Lombera <jose@lombera.dev>
Acked-by: Koni Marti <koni.marti@gmail.com>
Diffstat (limited to 'commands/msg/pipe.go')
0 files changed, 0 insertions, 0 deletions