TeamCode/src/main/java/org/commandftc/CommandScheduler.java
public static void unscheduleCommand(Command command) {
        if(scheduledCommands.contains(command)) {
            command.real_end(accessToken);
            scheduledCommands.remove(command);
        }
    }
/**
     * Ends a command immediately and remove the command from the list.
     */
Ends a command immediately and remove the command from the list.
Ends a command immediately and remove the command from the list .
public static void unscheduleCommand(Command command) {
        if(scheduledCommands.contains(command)) {
            command.real_end(accessToken);
            scheduledCommands.remove(command);
        }
    }
public static void unscheduleCommand ( Command command ) { if ( scheduledCommands . contains ( command ) ) { command . real_end ( accessToken ) ; scheduledCommands . remove ( command ) ; } }
Ends a command immediately and remove the command from the list.
Ends a command immediately and remove the command from the list .