core/src/main/java/eu/darken/rxshell/cmd/RxCmdShell.java
/**
     * If there is no active session this just completes
     *
     * @see Session#cancel()
     */
If there is no active session this just completes
@see Session#cancel()
If there is no active session this just completes @see Session#cancel ()
public synchronized Completable cancel() {
        if (RXSDebug.isDebug()) Timber.tag(TAG).v("cancel()");
        if (session == null) return Completable.complete();
        else return session.flatMapCompletable(Session::cancel);
    }
public synchronized Completable cancel ( ) { if ( RXSDebug . isDebug ( ) ) Timber . tag ( TAG ) . v ( "cancel()" ) ; if ( session == null ) return Completable . complete ( ) ; else return session . flatMapCompletable ( Session :: cancel ) ; }
If there is no active session this just completes
 @see Session#cancel()
If there is no active session this just completes @see Session#cancel ()