src/main/java/me/codeboy/common/base/task/CBTaskController.java
public void stopAllTasks() {
        ICBTask task;
        stopSign = true;
        while ((task = queue.poll()) != null) {
            task.stopTask();
        }
    }
public void stopAllTasks() {
        ICBTask task;
        stopSign = true;
        while ((task = queue.poll()) != null) {
            task.stopTask();
        }
    }
public void stopAllTasks ( ) { ICBTask task ; stopSign = true ; while ( ( task = queue . poll ( ) ) != null ) { task . stopTask ( ) ; } }
停止任务
停止任务