summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Task.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Task.cc b/src/Task.cc
index 644e302..0a213be 100644
--- a/src/Task.cc
+++ b/src/Task.cc
@@ -157,7 +157,8 @@ Balau::Events::TaskEvent::TaskEvent(Task * taskWaited) : m_taskWaited(taskWaited
void Balau::Events::TaskEvent::signal() {
if (m_distant)
m_evt.send();
- doSignal();
+ else
+ doSignal();
}
void Balau::Events::TaskEvent::gotOwner(Task * task) {