summaryrefslogtreecommitdiffstats
path: root/src/if_xcmdsrv.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-18 19:42:22 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-18 19:42:22 +0100
commit42205551b140bee8b419b24abe210f56bb80b35e (patch)
treeeb4b9fe95bd66ccb9c65e01a3bbc70a3cc026eed /src/if_xcmdsrv.c
parent7a43cb9cb5909634469b0a3e865747f10ea38e9b (diff)
patch 8.0.0477: the client-server test may hang when failingv8.0.0477
Problem: The client-server test may hang when failing. Solution: Set a timer. Add assert_report()
Diffstat (limited to 'src/if_xcmdsrv.c')
-rw-r--r--src/if_xcmdsrv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/if_xcmdsrv.c b/src/if_xcmdsrv.c
index 18c208b967..9ff6d76056 100644
--- a/src/if_xcmdsrv.c
+++ b/src/if_xcmdsrv.c
@@ -596,6 +596,10 @@ ServerWait(
if (seconds >= 0 && (now - start) >= seconds)
break;
+#ifdef FEAT_TIMERS
+ check_due_timer();
+#endif
+
/* Just look out for the answer without calling back into Vim */
if (localLoop)
{