* so the whole application runs on nice speed. This while-loop goes
* until the hub is no longer active or all tasks are killed.
*/
- while (($nodeInstance->getIsActive()) && ($handlerInstance->hasTasksLeft())) {
+ while (($nodeInstance->isNodeActive()) && ($handlerInstance->hasTasksLeft())) {
// Handle all tasks here
$handlerInstance->handleTasks();
} // END - while