1
0
Fork 0

[select] kill_timer

This commit is contained in:
Witold Filipczyk 2023-01-20 11:25:52 +01:00
parent fc13186415
commit 0d5a600b33
1 changed files with 3 additions and 0 deletions

View File

@ -536,6 +536,8 @@ select_loop(void (*init)(void))
if (program.terminate) break;
do_event_loop(EVLOOP_ONCE);
}
kill_timer(&periodic_redraw_timer);
return;
} else
#endif
while (!program.terminate) {
@ -644,6 +646,7 @@ select_loop(void (*init)(void))
n -= k;
}
}
kill_timer(&periodic_redraw_timer);
}
static int