aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/channel.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-06-26 15:55:20 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-07-17 11:30:01 -0300
commitbce4c365bcd45eab76da967fd72732b79bbc1f57 (patch)
treec10919e25098163314580878c51fe9d5306d6e25 /src/nvim/os/channel.c
parentc19b8404a7695221b5f4029a6f206f0a50e200f4 (diff)
downloadrneovim-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.c7
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;