MINA SSHD
  1. MINA SSHD
  2. SSHD-157

SshServer.stop should be idempotent

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Labels:
      None

      Description

      The stop method should be no-op if called on SshServer that's not yet started or already stopped once. This tends to simplify the clean up for the calling applcation. Patch attached.

      1. SSHD-157.diff
        3 kB
        Kohsuke Kawaguchi

        Activity

        Hide
        Kohsuke Kawaguchi added a comment -

        Patch to fix this problem.

        Show
        Kohsuke Kawaguchi added a comment - Patch to fix this problem.
        Hide
        Guillaume Nodet added a comment -

        Thx for the patch

        Show
        Guillaume Nodet added a comment - Thx for the patch

          People

          • Assignee:
            Guillaume Nodet
            Reporter:
            Kohsuke Kawaguchi
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development