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

@ -19,3 +19,4 @@ jobs:
version: ${{ needs.getVersion.outputs.version }}
tag: ${{ needs.getVersion.outputs.tag }}
channel: ${{ needs.getVersion.outputs.channel }}
bypassPackageCheck: true

View file

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