Skip to content

free_socket or close_socket ? #207

Closed
@o-control

Description

@o-control

This may be due to some quirk of my code, but I've found that with this line as written:

self._connection_manager.free_socket(self._sock)

the MQTT connection doesn't close on calling disconnect(). For me it does work if I change that line to:

self._connection_manager.close_socket(self._sock)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions