summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/TaskMan.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/TaskMan.cc b/src/TaskMan.cc
index 73bce5c..25b3eaa 100644
--- a/src/TaskMan.cc
+++ b/src/TaskMan.cc
@@ -257,6 +257,7 @@ void Balau::TaskMan::mainLoop() {
while (((m_pendingAdd.size() != 0) || (m_tasks.size() == 0)) && !m_stopped) {
t = m_pendingAdd.pop();
Assert(m_tasks.find(t) == m_tasks.end());
+ ev_now_update(m_loop);
t->setup(this, getStack());
m_tasks.insert(t);
}