Hi Bram,

2016/2/5 Fri 6:10:16 UTC+9 Bram Moolenaar wrote:
> > The problem with Win32 GUI seems to be fixed by the attached patch.
> > (Moving "!defined(FEAT_GUI_W32)" from vim.h to channel.c is optional.)
> 
> Thanks.  It looks like this doesn't use a timeout, more changes needed
> later?

Oh, I didn't care about timeout.
Currently I have no idea how to implement timeout.


> > However, with or without my patch, using callback causes a crash both on
> > Windows and Linux (7.4.1256):
> > 
> >     let handle = ch_open('localhost:8765', 'json')
> >     func MyHandler(handle, msg)
> >       echo "from the handler: " . a:msg
> >     endfunc
> >     call ch_sendexpr(handle, 'hello!', "MyHandler")
> > 
> > Wait about 10 sec, then vim crashes.
> > It seems that 7.4.1246 caused the regression.
> 
> I can reproduce it sometimes...

The crash seems to be fixed, thanks.
But the handler is not called on 7.4.1261.


Regards,
Ken Takata

-- 
-- 
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.

Raspunde prin e-mail lui