summaryrefslogtreecommitdiff
path: root/lib/Task.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Task.cc')
-rw-r--r--lib/Task.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Task.cc b/lib/Task.cc
index 2c8f048..c50a6e7 100644
--- a/lib/Task.cc
+++ b/lib/Task.cc
@@ -84,3 +84,7 @@ bool Task::IsStopped() {
Task * Task::WaitedBy() {
return wbta;
}
+
+void Task::RemoveFromWatches() {
+ wbta = 0;
+}