Skip to content

Commit

Permalink
fix reconnect bug
Browse files Browse the repository at this point in the history
  • Loading branch information
barisyild committed Mar 21, 2024
1 parent 0a665a8 commit 75e97b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/com/smartfoxserver/v2/bitswarm/BitSwarmClient.hx
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,8 @@ class BitSwarmClient extends EventDispatcher
// We are out of time... connection failed:(
else
{
// Do not attempt to reconnect anymore
_attemptingReconnection = false;
dispatchEvent(new BitSwarmEvent(BitSwarmEvent.DISCONNECT, {reason:ClientDisconnectionReason.UNKNOWN}));
}
}
Expand Down

0 comments on commit 75e97b4

Please sign in to comment.