mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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:
parent
7fb36ebb1d
commit
587f5f0aab
@ -212,8 +212,6 @@ bool job_stop(int id)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
uv_read_stop((uv_stream_t *)&job->proc_stdout);
|
|
||||||
uv_read_stop((uv_stream_t *)&job->proc_stderr);
|
|
||||||
job->stopped = true;
|
job->stopped = true;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user