Skip to content

Commit

Permalink
Handle cleanup on close
Browse files Browse the repository at this point in the history
  • Loading branch information
mbillow authored and Marius Kriegerowski committed May 29, 2022
1 parent b4a27c9 commit 09ac98d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions amqtt/broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ async def client_connected(
client_session.client_id,
)
old_session = self._sessions[client_session.client_id]
await old_session[1].handle_connection_closed()
await old_session[1].stop()
break
else:
Expand Down

0 comments on commit 09ac98d

Please sign in to comment.