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
commit 7046205e57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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)