0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 7.4.1860

Problem:    Using a partial for timer_start() may cause a crash.
Solution:   Set the copyID in timer objects. (Ozaki Kiichi)
This commit is contained in:
Bram Moolenaar
2016-05-31 21:13:04 +02:00
parent ef3abc6442
commit e3188e2615
5 changed files with 36 additions and 0 deletions

View File

@@ -7046,6 +7046,10 @@ garbage_collect(int testing)
abort = abort || set_ref_in_nb_channel(copyID);
#endif
#ifdef FEAT_TIMERS
abort = abort || set_ref_in_timer(copyID);
#endif
if (!abort)
{
/*