Merge pull request #1224 from PepperDash/feature/inclusive-poll

This commit is contained in:
Andrew Welker
2025-03-24 14:50:26 -05:00
committed by GitHub
2 changed files with 6 additions and 6 deletions

View File

@@ -18,4 +18,5 @@ jobs:
newVersion: ${{ needs.getVersion.outputs.newVersion }}
version: ${{ needs.getVersion.outputs.version }}
tag: ${{ needs.getVersion.outputs.tag }}
channel: ${{ needs.getVersion.outputs.channel }}
channel: ${{ needs.getVersion.outputs.channel }}
bypassPackageCheck: true

View File

@@ -151,17 +151,16 @@ namespace PepperDash.Essentials.Core
{
if (MonitorBytesReceived)
{
Client.BytesReceived += Client_BytesReceived;
Client.BytesReceived -= Client_BytesReceived;
Client.BytesReceived += Client_BytesReceived;
}
else
{
Client.TextReceived -= Client_TextReceived;
Client.TextReceived += Client_TextReceived;
}
if (!IsSocket)
{
BeginPolling();
}
BeginPolling();
}
void socket_ConnectionChange(object sender, GenericSocketStatusChageEventArgs e)