Merge pull request #29 from PepperDash/feature/TcpShutdownDisconnect

Fix GenericTcpIpClient reconnect when disconnect is requested
This commit is contained in:
Neil Dorin 2020-06-10 09:23:53 -06:00 committed by GitHub
commit be86d0e165
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -227,7 +227,7 @@ namespace PepperDash.Core
if (programEventType == eProgramStatusEventType.Stopping)
{
Debug.Console(1, this, "Program stopping. Closing connection");
DisconnectClient();
Disconnect();
}
}