summaryrefslogtreecommitdiff
path: root/lib/Task.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-12-22 02:06:30 +0000
committerPixel <Pixel>2001-12-22 02:06:30 +0000
commit4355c6e9835e08e42d8d082ada4470293faef2ca (patch)
treee577e8022758fc3f8c06f5aaf27b35fe5c3fce63 /lib/Task.cc
parent1ab3f478e7333620e3f8d424d27bd86e54886a3f (diff)
TaskMan => a father kills his childrens.
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;
+}