diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-10-23 10:30:27 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-10-23 21:19:08 -0300 |
commit | d561ba223d799f02033a22fbc5f49d10ea3d50e5 (patch) | |
tree | bce5f844330e7f2a4c28e8848fc055335c4fd240 /runtime/doc/manpages/vimtutor.1 | |
parent | 9abcd9a4a095ea1c96efb3a63890e8b919b20d22 (diff) | |
download | rneovim-d561ba223d799f02033a22fbc5f49d10ea3d50e5.tar.gz rneovim-d561ba223d799f02033a22fbc5f49d10ea3d50e5.tar.bz2 rneovim-d561ba223d799f02033a22fbc5f49d10ea3d50e5.zip |
job: Refactor to ensure that all callbacks will be invoked
It's possible that a child process won't close it's standard streams, even after
it exits. This can be evidenced with the "xclip" program:
:call system('xclip -i -selection clipboard', 'DATA')
Before this commit, the above command wouldn't return, even though the xclip
program had exited. That is because `xclip` wasn't closing it's stdout/stderr
streams, which would block pending_refs from ever reaching 0.
Now the job.c module was refactored to ensure all streams are closed when the
uv_process_t handle is closed.
Diffstat (limited to 'runtime/doc/manpages/vimtutor.1')
0 files changed, 0 insertions, 0 deletions