mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-17 13:44:46 +00:00
fix: add null check for SSH reconnect timer
This commit is contained in:
@@ -229,7 +229,10 @@ namespace PepperDash.Core
|
|||||||
Debug.Console(1, this, "Attempting connect");
|
Debug.Console(1, this, "Attempting connect");
|
||||||
|
|
||||||
// Cancel reconnect if running.
|
// Cancel reconnect if running.
|
||||||
|
if (ReconnectTimer != null)
|
||||||
|
{
|
||||||
ReconnectTimer.Stop();
|
ReconnectTimer.Stop();
|
||||||
|
}
|
||||||
|
|
||||||
// Cleanup the old client if it already exists
|
// Cleanup the old client if it already exists
|
||||||
if (Client != null)
|
if (Client != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user