diff --git a/core/src/task.cpp b/core/src/task.cpp index 452a3317..26c6f693 100644 --- a/core/src/task.cpp +++ b/core/src/task.cpp @@ -176,6 +176,7 @@ void Task::add(Stage::pointer &&stage) { void Task::clear() { + reset(); stages()->clear(); }