Files
neovim/runtime
Justin M. Keyes 8fa0b8051d job-control: mitigate process-kill race
children_kill_cb() is racey. One obvious problem is that
process_close_handles() is *queued* by on_process_exit(), so when
children_kill_cb() is invoked, the dead process might still be in the
`loop->children` list.  If the OS already reclaimed the dead PID, Nvim
may try to SIGKILL it.

Avoid that by checking `proc->status`.

Vim doesn't have this problem because it doesn't attempt to kill
processes that ignored SIGTERM after a timeout.

closes #8269
2018-04-15 18:23:11 +02:00
..
2018-04-02 23:59:49 +02:00
2017-04-29 01:51:56 +02:00
2017-11-07 01:16:42 +01:00
2017-11-07 23:07:03 +01:00
2017-05-01 12:30:54 +02:00
2017-11-07 01:16:42 +01:00
2017-11-07 20:03:24 +01:00
2014-12-19 15:28:49 -05:00
2018-01-15 23:58:52 +01:00
2016-04-16 23:06:24 -07:00
2017-11-06 05:26:16 +01:00
2017-01-31 02:02:09 +01:00
2017-01-31 02:02:09 +01:00
2014-07-29 02:12:31 +00:00
2018-04-02 23:59:49 +02:00
2017-11-07 23:07:03 +01:00