core/src/main/java/eu/darken/rxshell/cmd/RxCmdShell.java
/**
     * If there is no active session this returns immediately with exitcode {@link Cmd.ExitCode#OK}
     *
     * @see Session#close()
     */
If there is no active session this returns immediately with exitcode  Cmd.ExitCode#OK
@see Session#close()
If there is no active session this returns immediately with exitcode Cmd . ExitCode#OK @see Session#close ()
public synchronized Single<Integer> close() {
        if (RXSDebug.isDebug()) Timber.tag(TAG).v("close()");
        if (session == null) return Single.just(Cmd.ExitCode.OK);
        else return session.flatMap(Session::close);
    }
public synchronized Single < Integer > close ( ) { if ( RXSDebug . isDebug ( ) ) Timber . tag ( TAG ) . v ( "close()" ) ; if ( session == null ) return Single . just ( Cmd . ExitCode . OK ) ; else return session . flatMap ( Session :: close ) ; }
If there is no active session this returns immediately with exitcode {@link Cmd.ExitCode#OK}
 @see Session#close()
If there is no active session this returns immediately with exitcode { @link Cmd . ExitCode#OK } @see Session#close ()