diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-09-15 14:12:05 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-09-15 14:12:05 +0200 |
commit | 93c88e0f6a4a8f7634ed84721daf4af46fc0d5db (patch) | |
tree | b325606d26d69c3804a9007cf7d1fa4a8034f4aa /src/ex_docmd.c | |
parent | ed84b76021df763619cabaedddc44eb5ee849136 (diff) |
patch 7.4.866v7.4.866
Problem: Crash when changing the 'tags' option from a remote command.
(Benjamin Fritz)
Solution: Instead of executing messages immediately, use a queue, like for
netbeans. (James Kolb)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 045375ac40..bb07c8bf45 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -9033,11 +9033,11 @@ do_sleep(msec) { ui_delay(msec - done > 1000L ? 1000L : msec - done, TRUE); ui_breakcheck(); -#ifdef FEAT_NETBEANS_INTG - /* Process the netbeans messages that may have been received in the - * call to ui_breakcheck() when the GUI is in use. This may occur when - * running a test case. */ - netbeans_parse_messages(); +#ifdef MESSAGE_QUEUE + /* Process the netbeans and clientserver messages that may have been + * received in the call to ui_breakcheck() when the GUI is in use. This + * may occur when running a test case. */ + parse_queued_messages(); #endif } } |