diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-02 15:20:46 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-02 16:47:50 -0300 |
commit | 5322333b476600d16696f0fb3c69c3c3f14524d4 (patch) | |
tree | 7d3ddd47b19d59eb790170c05db6ded45a416648 /runtime/doc/manpages/vimdiff.1 | |
parent | d4f032a1333be4032b1b057be0c226a904b703bf (diff) | |
download | rneovim-5322333b476600d16696f0fb3c69c3c3f14524d4.tar.gz rneovim-5322333b476600d16696f0fb3c69c3c3f14524d4.tar.bz2 rneovim-5322333b476600d16696f0fb3c69c3c3f14524d4.zip |
server: Refactor to ensure server handles are always properly closed
If the server fails to start(due to used address for example), the
`server_start` function was freeing the handle memory before it was properly
removed from libuv event loop queue. Fix that by replacing the `free(server)`
call by `uv_close` call, which will take care of freeing the server on the next
event loop iteration. Also replace `EMSG` calls by `ELOG`/`WLOG`.
Diffstat (limited to 'runtime/doc/manpages/vimdiff.1')
0 files changed, 0 insertions, 0 deletions