Skip to content

Conversation

@janiversen
Copy link
Collaborator

@janiversen janiversen commented Mar 5, 2024

The clients inherit directly from ModbusProtocol, which means the API close() overrides the internal (transport) close(), giving problems.

the intern= was only meant for internal usage, but is added to the client close() in order to have a disconnect work.

This is UGLY and should not be so, but it is a fast fix, a proper solution will come later.

@janiversen janiversen merged commit 16b63b1 into dev Mar 5, 2024
@janiversen janiversen deleted the transport_close branch March 5, 2024 08:42
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants