model/persistence.js
function(time) {
        clearTimeout(this._restartTimeout);
        if (!time) {
            return;
        }
        if (!this._isShuttingDown) {
            this._restartTimeout = setTimeout(_.bind(this._onRestartTimeout, this), time * 1000);
        }
    }
function(time) {
        clearTimeout(this._restartTimeout);
        if (!time) {
            return;
        }
        if (!this._isShuttingDown) {
            this._restartTimeout = setTimeout(_.bind(this._onRestartTimeout, this), time * 1000);
        }
    }
function ( time ) { clearTimeout ( this . _restartTimeout ) ; if ( ! time ) { return ; } if ( ! this . _isShuttingDown ) { this . _restartTimeout = setTimeout ( _ . bind ( this . _onRestartTimeout , this ) , time * 1000 ) ; } }
Cancel and reset the timeout that restarts the app.
Cancel and reset the timeout that restarts the app .