Closed Shougo closed 6 years ago
@roxma Can you review/merge it?
Note: I have removed tabs.
It looks like the errors in #29 are triggered when exit_cb
is called before err_cb
or out_cb
.
"exit_cb": handler Callback for when the job ends. The arguments are the
...
...
Note that data can be buffered, callbacks may still be
called after the process ends.
vim-hug-neovim-rpc cleanup the job entry when exit_cb
is called. It doesn't look like a good place to do the cleanup.
I'm wondering, is it better to cleanup the data in close_cb
?
If this PR is merged, we might lose data when exit_cb
is called before data callbacks.
After some research Macvim has some annoying problems being compiled with python for some reason. In normal Vim, I don't get any problems on the current master or this branch.
Sorry if trying to fix this wasted some of your time
Hm. It is related error?
Closed. Because #31 is better.
@dylan-chong Please test it.