mirror of
https://github.com/vim/vim.git
synced 2025-10-05 05:34:07 -04:00
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()
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user