Skip to content

Commit

Permalink
async client
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Dec 14, 2024
1 parent 5da3e3b commit 5a17a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/socketio/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ async def _handle_eio_disconnect(self):
self.callbacks = {}
self._binary_packet = None
self.sid = None
if will_reconnect:
if will_reconnect and not self._reconnect_task:
self._reconnect_task = self.start_background_task(
self._handle_reconnect)

Expand Down

0 comments on commit 5a17a83

Please sign in to comment.