mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 12:44:58 +00:00
Merge pull request #1224 from PepperDash/feature/inclusive-poll
This commit is contained in:
@@ -19,3 +19,4 @@ jobs:
|
|||||||
version: ${{ needs.getVersion.outputs.version }}
|
version: ${{ needs.getVersion.outputs.version }}
|
||||||
tag: ${{ needs.getVersion.outputs.tag }}
|
tag: ${{ needs.getVersion.outputs.tag }}
|
||||||
channel: ${{ needs.getVersion.outputs.channel }}
|
channel: ${{ needs.getVersion.outputs.channel }}
|
||||||
|
bypassPackageCheck: true
|
||||||
@@ -151,17 +151,16 @@ namespace PepperDash.Essentials.Core
|
|||||||
{
|
{
|
||||||
if (MonitorBytesReceived)
|
if (MonitorBytesReceived)
|
||||||
{
|
{
|
||||||
Client.BytesReceived += Client_BytesReceived;
|
Client.BytesReceived -= Client_BytesReceived;
|
||||||
|
Client.BytesReceived += Client_BytesReceived;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Client.TextReceived -= Client_TextReceived;
|
||||||
Client.TextReceived += Client_TextReceived;
|
Client.TextReceived += Client_TextReceived;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!IsSocket)
|
BeginPolling();
|
||||||
{
|
|
||||||
BeginPolling();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void socket_ConnectionChange(object sender, GenericSocketStatusChageEventArgs e)
|
void socket_ConnectionChange(object sender, GenericSocketStatusChageEventArgs e)
|
||||||
|
|||||||
Reference in New Issue
Block a user