mirror of
https://github.com/neovim/neovim.git
synced 2026-04-02 05:39:26 +00:00
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user