Skip to content

Commit

Permalink
Merge pull request #166 from PepperDash/hotfix/165-bug-generictcpipcl…
Browse files Browse the repository at this point in the history
…ient-throws-null-ref-in-older-simpl-windows-only-scenarios

fix: StreamDebugging in default constructor
  • Loading branch information
andrew-welker authored Jan 3, 2024
2 parents e9a2f7a + 86acb09 commit 0aa095d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Pepperdash Core/Pepperdash Core/Comm/GenericTcpIpClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ public GenericTcpIpClient(string key)
/// </summary>
public GenericTcpIpClient()
: base(SplusKey)
{
{
StreamDebugging = new CommunicationStreamDebugging(SplusKey);
CrestronEnvironment.ProgramStatusEventHandler += new ProgramStatusEventHandler(CrestronEnvironment_ProgramStatusEventHandler);
AutoReconnectIntervalMs = 5000;
BufferSize = 2000;
Expand Down

0 comments on commit 0aa095d

Please sign in to comment.