Skip to content

Commit

Permalink
Merge pull request #208 from justmobilize/change-free-to-close
Browse files Browse the repository at this point in the history
Change free_socket to close_socket
  • Loading branch information
FoamyGuy authored Mar 4, 2024
2 parents ff6f991 + fe57038 commit cbe2177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_minimqtt/adafruit_minimqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ def disconnect(self) -> None:
except RuntimeError as e:
self.logger.warning(f"Unable to send DISCONNECT packet: {e}")
self.logger.debug("Closing socket")
self._connection_manager.free_socket(self._sock)
self._connection_manager.close_socket(self._sock)
self._is_connected = False
self._subscribed_topics = []
self._last_msg_sent_timestamp = 0
Expand Down

0 comments on commit cbe2177

Please sign in to comment.