1
0
forked from aniani/vim

patch 8.2.5129: timeout handling is not optimal

Problem:    Timeout handling is not optimal.
Solution:   Avoid setting timeout_flag twice.  Adjust the pointer when
            stopping the regexp timeout.  Adjust variable name.
This commit is contained in:
Bram Moolenaar
2022-06-19 14:36:35 +01:00
parent 6f0cf62df9
commit 1f30caff8b
4 changed files with 6 additions and 4 deletions

View File

@@ -61,6 +61,7 @@ init_regexp_timeout(long msec)
disable_regexp_timeout(void)
{
stop_timeout();
timeout_flag = &dummy_timeout_flag;
}
#endif