mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-07-02 10:38:16 +00:00
fix: Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
e57bc43a10
commit
e6583f7824
1 changed files with 16 additions and 4 deletions
|
|
@ -383,14 +383,26 @@ namespace PepperDash.Core
|
||||||
catch (NetSocketException ex)
|
catch (NetSocketException ex)
|
||||||
{
|
{
|
||||||
Debug.LogMessage(ex, "UDP receive error for {0}", this, Key);
|
Debug.LogMessage(ex, "UDP receive error for {0}", this, Key);
|
||||||
HandleDisconnected();
|
|
||||||
return;
|
if (AutoReconnect)
|
||||||
|
{
|
||||||
|
HandleDisconnected();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Debug.LogMessage(ex, "Unexpected UDP receive error for {0}", this, Key);
|
Debug.LogMessage(ex, "Unexpected UDP receive error for {0}", this, Key);
|
||||||
HandleDisconnected();
|
|
||||||
return;
|
if (AutoReconnect)
|
||||||
|
{
|
||||||
|
HandleDisconnected();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, token);
|
}, token);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue