launching crontab with micro as editor, and then killing crontab (the entire terminal) causes micro to stay alive (other editors like vim does not exhibit this behaviour) and micro goes from eating ~0% cpu to eating ~40% cpu forever untill killed
sending a SIGTERM to the process does NOT kill it, but does cause it to drop its cpu usage from ~40% to ~13%
sending a SIGKILL does kill it as expected
how to reproduce
- open a GNU/Linux terminal of choice (i use konsole)
- execute
EDITOR=`which micro` crontab -e
- kill the terminal by clicking the [x] (i used xkill instead)
- open a process monitorer (i use KSysGuard) and sort processes by cpu usage
Specifications
Version: 2.0.8
Commit hash: cfcb2e4
Compiled on February 21, 2021
OS: 5.9.16-1-MANJARO
Terminal: konsole (with zsh)