Cleanup: replace 'timer_ended' with 'timer_end'

The previous naming made it seem as if the timer had already ended
where as this function ends the timers.
This commit is contained in:
2021-03-15 14:06:38 +11:00
parent 88b24bc6bb
commit 6cd1520378
5 changed files with 7 additions and 7 deletions

View File

@@ -216,7 +216,7 @@ void wm_window_free(bContext *C, wmWindowManager *wm, wmWindow *win)
/* end running jobs, a job end also removes its timer */
LISTBASE_FOREACH_MUTABLE (wmTimer *, wt, &wm->timers) {
if (wt->win == win && wt->event_type == TIMERJOBS) {
wm_jobs_timer_ended(wm, wt);
wm_jobs_timer_end(wm, wt);
}
}