stopForTarget (target, optThreadException) {
        // Stop any threads on the target.
        for (let i = 0; i < this.threads.length; i++) {
            if (this.threads[i] === optThreadException) {
                continue;
            }
            if (this.threads[i].target === target) {
                this._stopThread(this.threads[i]);
            }
        }
    }
/**
     * Stop any threads acting on the target.
     * @param {!Target} target Target to stop threads for.
     * @param {Thread=} optThreadException Optional thread to skip.
     */
Stop any threads acting on the target.
@param {!Target} target Target to stop threads for.
@param {Thread=} optThreadException Optional thread to skip.
Stop any threads acting on the target . @param { !Target } target Target to stop threads for . @param { Thread = } optThreadException Optional thread to skip .
stopForTarget (target, optThreadException) {
        for (let i = 0; i < this.threads.length; i++) {
            if (this.threads[i] === optThreadException) {
                continue;
            }
            if (this.threads[i].target === target) {
                this._stopThread(this.threads[i]);
            }
        }
    }
stopForTarget ( target , optThreadException ) { for ( let i = 0 ; i < this . threads . length ; i ++ ) { if ( this . threads [ i ] === optThreadException ) { continue ; } if ( this . threads [ i ] . target === target ) { this . _stopThread ( this . threads [ i ] ) ; } } }
Stop any threads acting on the target.
Stop any threads acting on the target .
// Stop any threads on the target.