fix: StreamDebugging in default constructor

- creates a StreamDebugging class with the default s+ key
- this shouldn't matter since in a simpl windows env you can't use console commands anyhow
This commit is contained in:
Nick Genovese
2023-08-24 12:36:21 -04:00
parent e9a2f7a973
commit 86acb09782

View File

@@ -220,7 +220,8 @@ namespace PepperDash.Core
/// </summary> /// </summary>
public GenericTcpIpClient() public GenericTcpIpClient()
: base(SplusKey) : base(SplusKey)
{ {
StreamDebugging = new CommunicationStreamDebugging(SplusKey);
CrestronEnvironment.ProgramStatusEventHandler += new ProgramStatusEventHandler(CrestronEnvironment_ProgramStatusEventHandler); CrestronEnvironment.ProgramStatusEventHandler += new ProgramStatusEventHandler(CrestronEnvironment_ProgramStatusEventHandler);
AutoReconnectIntervalMs = 5000; AutoReconnectIntervalMs = 5000;
BufferSize = 2000; BufferSize = 2000;