diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-06-26 15:55:20 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-07-17 11:30:01 -0300 |
commit | bce4c365bcd45eab76da967fd72732b79bbc1f57 (patch) | |
tree | c10919e25098163314580878c51fe9d5306d6e25 /src/nvim/os/channel.c | |
parent | c19b8404a7695221b5f4029a6f206f0a50e200f4 (diff) | |
download | rneovim-bce4c365bcd45eab76da967fd72732b79bbc1f57.tar.gz rneovim-bce4c365bcd45eab76da967fd72732b79bbc1f57.tar.bz2 rneovim-bce4c365bcd45eab76da967fd72732b79bbc1f57.zip |
job: No longer free the job data. It's now done by the exit callback
Diffstat (limited to 'src/nvim/os/channel.c')
-rw-r--r-- | src/nvim/os/channel.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/nvim/os/channel.c b/src/nvim/os/channel.c index 9e2c812a3f..439487f30b 100644 --- a/src/nvim/os/channel.c +++ b/src/nvim/os/channel.c @@ -92,7 +92,7 @@ uint64_t channel_from_job(char **argv) channel, job_out, job_err, - job_exit, + NULL, true, 0, &status); @@ -275,11 +275,6 @@ static void job_err(RStream *rstream, void *data, bool eof) // TODO(tarruda): plugin error messages should be sent to the error buffer } -static void job_exit(Job *job, void *data) -{ - // TODO(tarruda): what should be done here? -} - static void parse_msgpack(RStream *rstream, void *data, bool eof) { Channel *channel = data; |