Issue 107 in vim: netbeans session not terminated on Windows after socket closed
- Status: New
Labels: Type-Defect Priority-Medium
New issue 107 by xdeg...@...: netbeans session not terminated on
Windows after socket closed
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Apr 20 2012 21:18:56)
Included patches: 1-502
Steps to reproduce:
* start the following netbeans.py server with python 3 (or adapt
for python 2)
* start a vim instance and issue the command ':nbstart'
* after netbeans.py has terminated, the command
':echo has("netbeans_enabled")' still prints '1'
* one must run first ':nbclose' to start a new netbeans session on this
The problem does not happen on linux.
=== netbeans.py =======================================
# Start this script with python3, then run ":nbstart" in Vim.
HOST = ''
PORT = 3219
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR) | 1)
conn, addr = s.accept()
print('Connected by', addr)
data = conn.recv(1024)
# python2: msg = data
msg = data.decode()
if 'startupDone' in msg:
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 vim_dev+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.