mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-10 10:14:50 +00:00
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:
Binary file not shown.
Binary file not shown.
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user