If a task will be disabled, the pending tasks in queue should be cleaned
to prevent the running of an deactivated task, the task queue should also be cleaned
1
vote

to prevent the running of an deactivated task, the task queue should also be cleaned