commit | 42205551b140bee8b419b24abe210f56bb80b35e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Mar 18 19:42:22 2017 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Mar 18 19:42:22 2017 +0100 |
tree | eb4b9fe95bd66ccb9c65e01a3bbc70a3cc026eed | |
parent | 7a43cb9cb5909634469b0a3e865747f10ea38e9b [diff] [blame] |
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()
diff --git a/src/if_xcmdsrv.c b/src/if_xcmdsrv.c index 18c208b..9ff6d76 100644 --- a/src/if_xcmdsrv.c +++ b/src/if_xcmdsrv.c
@@ -596,6 +596,10 @@ 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) {