aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/vim.lua
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2021-08-27 20:17:11 -0600
committerGitHub <noreply@github.com>2021-08-27 19:17:11 -0700
commit8af13ed946aa06636c633327c6549993e2e50116 (patch)
treed85cad5a37230adfc558838e2a5c415d76638767 /src/nvim/lua/vim.lua
parentff7f7dd26b45164a41dbc36799cb7b08ebb9f66b (diff)
downloadrneovim-8af13ed946aa06636c633327c6549993e2e50116.tar.gz
rneovim-8af13ed946aa06636c633327c6549993e2e50116.tar.bz2
rneovim-8af13ed946aa06636c633327c6549993e2e50116.zip
fix(process_wait): drain proc.events directly #15501
After a process's refcnt is decremented to zero, it enqueues a `process_close_event` on its own event queue. In `process_wait`, this event should be processed immediately so that any process close callbacks are executed before `process_wait` returns. Update `process_wait` to always process the process's event queue after the process is freed, rather than the event queue passed in as an argument.
Diffstat (limited to 'src/nvim/lua/vim.lua')
0 files changed, 0 insertions, 0 deletions