Merge pull request #159 from PepperDash/hotfix/ssh-reconnect-issues

Add null check for SSH reconnect timer DEV
This commit is contained in:
Neil Dorin 2023-04-07 10:48:11 -06:00 committed by GitHub
commit 6797db101a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,7 +229,10 @@ namespace PepperDash.Core
Debug.Console(1, this, "Attempting connect");
// Cancel reconnect if running.
ReconnectTimer.Stop();
if (ReconnectTimer != null)
{
ReconnectTimer.Stop();
}
// Cleanup the old client if it already exists
if (Client != null)