diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-10-20 07:46:19 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-10-21 11:05:49 -0300 |
commit | cf6f60ce4dc376570e8d71facea76299ca951604 (patch) | |
tree | a78d1c7ae250ee824cfc458c58a5af6168884c81 /src/nvim/os/event.c | |
parent | b280308ac649da61e2a0f40a222eae21af5352c9 (diff) | |
download | rneovim-cf6f60ce4dc376570e8d71facea76299ca951604.tar.gz rneovim-cf6f60ce4dc376570e8d71facea76299ca951604.tar.bz2 rneovim-cf6f60ce4dc376570e8d71facea76299ca951604.zip |
channel: Simplify resource management
- Remove unused rpc_call_level field
- Add `returned` field to ChannelCallFrame. This is set when the call returns
and is the only condition checked by `channel_send_call`.
- Add job_exit callback for properly closing channels created from job(the
job_exit callback is only called after all read callbacks, so it's the only
safe place to free the channel).
Diffstat (limited to 'src/nvim/os/event.c')
0 files changed, 0 insertions, 0 deletions