mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 03:57:08 +00:00
Merge pull request #29 from PepperDash/feature/TcpShutdownDisconnect
Fix GenericTcpIpClient reconnect when disconnect is requested
This commit is contained in:
commit
be86d0e165
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ namespace PepperDash.Core
|
||||||
if (programEventType == eProgramStatusEventType.Stopping)
|
if (programEventType == eProgramStatusEventType.Stopping)
|
||||||
{
|
{
|
||||||
Debug.Console(1, this, "Program stopping. Closing connection");
|
Debug.Console(1, this, "Program stopping. Closing connection");
|
||||||
DisconnectClient();
|
Disconnect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue