diff options
author | oni-link <knil.ino@gmail.com> | 2015-01-11 22:06:23 +0100 |
---|---|---|
committer | oni-link <knil.ino@gmail.com> | 2015-01-11 23:28:02 +0100 |
commit | 5c22f07c4f2b8ae9f7d756373ae8541051d7bd81 (patch) | |
tree | 5b956f1e08127483f99fa2edfcf6aa579e118bc8 /runtime/syntax/php.vim | |
parent | 7f30439d0f4d8d7e6b18f56d83d6fe868c84318c (diff) | |
download | rneovim-5c22f07c4f2b8ae9f7d756373ae8541051d7bd81.tar.gz rneovim-5c22f07c4f2b8ae9f7d756373ae8541051d7bd81.tar.bz2 rneovim-5c22f07c4f2b8ae9f7d756373ae8541051d7bd81.zip |
job.c: Prevent early return from job_wait().
A blocking call job_wait(job, -1) can only return after job is finished
and all handles of job are closed. But hitting CTRL-C makes job_wait()
return early while handles can still be open. This can lead to problems
with the job/handle callbacks if the caller (of job_wait()) already
freed the memory that is used in the job callbacks.
To fix this, only return after all handles of the job are closed.
Diffstat (limited to 'runtime/syntax/php.vim')
0 files changed, 0 insertions, 0 deletions