diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-18 19:42:22 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-18 19:42:22 +0100 |
commit | 42205551b140bee8b419b24abe210f56bb80b35e (patch) | |
tree | eb4b9fe95bd66ccb9c65e01a3bbc70a3cc026eed /src/if_xcmdsrv.c | |
parent | 7a43cb9cb5909634469b0a3e865747f10ea38e9b (diff) | |
download | vim-git-42205551b140bee8b419b24abe210f56bb80b35e.tar.gz |
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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/if_xcmdsrv.c b/src/if_xcmdsrv.c index 18c208b96..9ff6d7605 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) { |