Resoves bug where on program stop event, GenericSshClient was only calling Client.Disconnect() instead of its own Disconnect() methods which disconnects the client and also prevents auto reconnect attempts.

This commit is contained in:
Neil Dorin
2019-05-07 16:50:36 -06:00
parent 9e76a817fc
commit ada6090b43
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -174,8 +174,8 @@ namespace PepperDash.Core
if (Client != null)
{
Debug.Console(1, this, "Program stopping. Closing connection");
Client.Disconnect();
Client.Dispose();
Disconnect();
Client.Dispose();
}
}
}