summaryrefslogtreecommitdiff
path: root/lib/TaskMan.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/TaskMan.cc')
-rw-r--r--lib/TaskMan.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/TaskMan.cc b/lib/TaskMan.cc
index c688f8a..3169f88 100644
--- a/lib/TaskMan.cc
+++ b/lib/TaskMan.cc
@@ -176,9 +176,7 @@ void TaskMan::MainLoop() throw (GeneralException) {
break;
}
- if (t->GetState() == TASK_BURST) {
- no_burst = 0;
- } else if (t->GetState() == TASK_DONE) {
+ if (t->GetState() == TASK_DONE) {
TaskList.erase(p);
number--;
p--;