diff options
author | oni-link <knil.ino@gmail.com> | 2015-05-13 09:08:35 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-06-25 22:26:28 -0400 |
commit | 4aa6279a6bbaed0c6ea98ae5d04259df267ca292 (patch) | |
tree | 860b6171b44d898f4caf122c3f1bb11084143920 /clint.py | |
parent | 568d9985491181b3fdfde58aec1f3ddd13e93345 (diff) | |
download | rneovim-4aa6279a6bbaed0c6ea98ae5d04259df267ca292.tar.gz rneovim-4aa6279a6bbaed0c6ea98ae5d04259df267ca292.tar.bz2 rneovim-4aa6279a6bbaed0c6ea98ae5d04259df267ca292.zip |
event_teardown(): retry uv_loop_close() instead of abort. #2903
abort() causes a bad exit; retry uv_loop_close() instead.
Before this change, this ruby script will cause nvim to abort() instead
of exiting cleanly:
```
require 'open3'
require 'base64'
Open3.popen3('nvim --embed -u -NONE') {|stdin, stdout, stderr, wait_thr|
# base64-encoded msgpack message for the vim_command "qa!".
stdin.write Base64.decode64('kwKrdmltX2NvbW1hbmSRo3FhIQ==')
puts wait_thr.value
}
```
References ##2663
Closes #2466
Closes #2648
Helped-by: Rui Abreu Ferreira <raf-ep@gmx.com>
Diffstat (limited to 'clint.py')
0 files changed, 0 insertions, 0 deletions