summaryrefslogtreecommitdiff
path: root/src/netbeans.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-24 20:43:06 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-24 20:43:06 +0100
commit8b374215ccd35003b95ba1df8f12e03bf8a8adc3 (patch)
treec17bebb4bfab82032e119c8060da706c70a7af7c /src/netbeans.c
parent68c85fcdf31c104db21c96cd5871724e458c95ff (diff)
downloadvim-git-8b374215ccd35003b95ba1df8f12e03bf8a8adc3.tar.gz
patch 7.4.1413v7.4.1413
Problem: When calling ch_close() the close callback is invoked, even though the docs say it isn't. (Christian J. Robinson) Solution: Don't call the close callback.
Diffstat (limited to 'src/netbeans.c')
-rw-r--r--src/netbeans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbeans.c b/src/netbeans.c
index 44a725e1e..441ca7606 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -100,7 +100,7 @@ netbeans_close(void)
netbeans_send_disconnect();
if (nb_channel != NULL)
/* Close the socket and remove the input handlers. */
- channel_close(nb_channel);
+ channel_close(nb_channel, TRUE);
nb_channel = NULL;
}