aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-04-18 13:51:55 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-18 16:12:26 -0300
commit587f5f0aab6206c8b2d8b4bf2f846d732d22a772 (patch)
treefae53a0403b89a8f9383309d55cff2197c8874b2
parent7fb36ebb1dbfdcb33c8061a2e7916c4bd7c800e5 (diff)
downloadrneovim-587f5f0aab6206c8b2d8b4bf2f846d732d22a772.tar.gz
rneovim-587f5f0aab6206c8b2d8b4bf2f846d732d22a772.tar.bz2
rneovim-587f5f0aab6206c8b2d8b4bf2f846d732d22a772.zip
Fix bug of `job_stop` not emitting `JobExit`
The `job_stop` function was calling `uv_read_stop` on the std{out,err} streams. This is now responsibility of `RStream` and because of those calls `job_stop` wasn't emitting the `JobExit` event.
-rw-r--r--src/os/job.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/os/job.c b/src/os/job.c
index 443fe50a41..bb8e79124f 100644
--- a/src/os/job.c
+++ b/src/os/job.c
@@ -212,8 +212,6 @@ bool job_stop(int id)
return false;
}
- uv_read_stop((uv_stream_t *)&job->proc_stdout);
- uv_read_stop((uv_stream_t *)&job->proc_stderr);
job->stopped = true;
return true;