summaryrefslogtreecommitdiff
path: root/lib/event.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-03-02 10:35:21 +0100
committerMaria Matejka <mq@ucw.cz>2022-03-02 12:13:49 +0100
commit48bf1322aa141ca6259b26b37551402758cff0cc (patch)
treeb900a58ac1356bf3724cfa226070ff97df3d52d5 /lib/event.c
parent2e8b8bfcc46ec1493f9e0efe9c796b88df85ada4 (diff)
Introducing an universal temporary linpool flushed after every task
Diffstat (limited to 'lib/event.c')
-rw-r--r--lib/event.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/event.c b/lib/event.c
index 273447e0..33dc00b0 100644
--- a/lib/event.c
+++ b/lib/event.c
@@ -157,6 +157,7 @@ ev_run_list(event_list *l)
io_log_event(e->hook, e->data);
ev_run(e);
+ tmp_flush();
}
return !EMPTY_LIST(*l);
@@ -184,6 +185,7 @@ ev_run_list_limited(event_list *l, uint limit)
io_log_event(e->hook, e->data);
ev_run(e);
+ tmp_flush();
limit--;
}