A couple missed tevent things.
(Sorry; had a couple changes queued.)
This commit is contained in:
parent
6362b12df7
commit
834290b00f
3 changed files with 6 additions and 6 deletions
|
|
@ -422,14 +422,14 @@ int main_loop(void)
|
|||
}
|
||||
|
||||
|
||||
while((event = get_expired_event())) {
|
||||
while((event = get_expired_tevent())) {
|
||||
event->handler(event->data);
|
||||
free_event(event);
|
||||
free_tevent(event);
|
||||
}
|
||||
|
||||
if(sigalrm) {
|
||||
logger(LOG_INFO, _("Flushing event queue"));
|
||||
flush_events();
|
||||
flush_tevents();
|
||||
sigalrm = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue