diff src/if_xcmdsrv.c @ 11181:13544aa85dc0 v8.0.0477

patch 8.0.0477: the client-server test may hang when failing commit https://github.com/vim/vim/commit/42205551b140bee8b419b24abe210f56bb80b35e Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 18 19:42:22 2017 +0100 patch 8.0.0477: the client-server test may hang when failing Problem: The client-server test may hang when failing. Solution: Set a timer. Add assert_report()
author Christian Brabandt <cb@256bit.org>
date Sat, 18 Mar 2017 19:45:05 +0100
parents 76fb679a310e
children 71311d899b42
line wrap: on
line diff
--- 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)
 	{