1
0
forked from aniani/vim

patch 9.0.0682: crash when popup with deleted timer is closed

Problem:    Crash when popup with deleted timer is closed. (Igbanam
            Ogbuluijah)
Solution:   Check the timer still exists. (closes #11301)
This commit is contained in:
Bram Moolenaar
2022-10-07 11:20:29 +01:00
parent 0937b9fb24
commit cf3d0eaf47
5 changed files with 34 additions and 4 deletions

View File

@@ -13,6 +13,7 @@ void timer_start(timer_T *timer);
long check_due_timer(void);
void stop_timer(timer_T *timer);
int set_ref_in_timer(int copyID);
int timer_valid(timer_T *timer);
void timer_free_all(void);
void f_timer_info(typval_T *argvars, typval_T *rettv);
void f_timer_pause(typval_T *argvars, typval_T *rettv);