Merge pull request #166 from PepperDash/hotfix/165-bug-generictcpipclient-throws-null-ref-in-older-simpl-windows-only-scenarios

fix: StreamDebugging in default constructor
This commit is contained in:
Andrew Welker
2024-01-03 08:58:33 -06:00
committed by GitHub

View File

@@ -221,6 +221,7 @@ namespace PepperDash.Core
public GenericTcpIpClient()
: base(SplusKey)
{
StreamDebugging = new CommunicationStreamDebugging(SplusKey);
CrestronEnvironment.ProgramStatusEventHandler += new ProgramStatusEventHandler(CrestronEnvironment_ProgramStatusEventHandler);
AutoReconnectIntervalMs = 5000;
BufferSize = 2000;