Further investigation of the situation where close_cb wasn't called showed that the channel had got stuck in a "pre-closing" state, and only ctrl-c would allow it to actually close. Here's a gist with code and channel logging:
https://gist.github.com/airblade/4585556f713f0f9cc537d14054056a3b Switching from a close_cb to an exit_cb sidesteps this problem for me. However, I still don't know what the "best practice" is: close_cb or exit_cb? Yours, Andrew Stewart -- -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/f20e5a8a-f1c0-4e41-a739-7c8355691ea4n%40googlegroups.com.
