On Tue, Feb 9, 2016 at 5:38 PM, Bram Moolenaar <[email protected]> wrote:
>
> Ozaki Kiichi wrote:
>
> > I checked test_channel.vim on OS X 10.11.3;
> >
> > ch_open('localhost' . s:port) fails by timeout, so s:start_server()
> > returns (channel)-1 and s:kill_server() doesn't execute.
> >
> > patch:
> > I propose to use try-finally to execute s:kill_server().
> > https://gist.github.com/ichizok/3820b16b7198847e75c7
> >
> > And, on OS X, ch_open() needs option waittime > 0 to pass test_channel.
> >
> > patch:
> > use waittime option
> > https://gist.github.com/ichizok/30ae71b0e12b85a1f864
>
> Thanks, I'm glad you could solve this mystery.
>
> I do wonder why a 1 msec waittime makes it work, it probably means there
> is something wrong with what happens with the zero waittime.
I can confirm that 7.4.1297 has fixed the issue on my machine. Thanks for
the quick fix.
-Manny
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.