mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-16 21:24:43 +00:00
refactor: Move failure handling out of catch blocks just in case
This commit is contained in:
@@ -278,6 +278,9 @@ namespace PepperDash.Core
|
|||||||
ClientStatus = SocketStatus.SOCKET_STATUS_CONNECT_FAILED;
|
ClientStatus = SocketStatus.SOCKET_STATUS_CONNECT_FAILED;
|
||||||
HandleConnectionFailure();
|
HandleConnectionFailure();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ClientStatus = SocketStatus.SOCKET_STATUS_CONNECT_FAILED;
|
||||||
|
HandleConnectionFailure();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user