Skip to content

Fix disconnect in InBandConnectionManager for remote case. - #290

Merged
alexandraBara merged 4 commits into
developmentfrom
bugfix/ib_disconnect
Sep 18, 2026
Merged

alexandraBara merged 4 commits into
developmentfrom
bugfix/ib_disconnect

Conversation

@graepaul

Copy link
Copy Markdown
Collaborator

Summary

Fix disconnect in InBandConnectionManager so that self.connection.clint.close() is called. Before the super().disconnect() would occur which would then set in self.connection to None then after that client.close() would never be called since it only runes when the type is RemoteShell but by that point it will be None.

Test plan

  • pytest test/unit
  • pytest test/functional (if applicable)
  • pre-commit run --all-files

Checklist

  • Added/updated tests (or explained why not)
  • Updated docs/README if behavior changed
  • No secrets or credentials committed

…ent.close() is called. Before the super().disconnect() would occur which would then result in self.connection be set to None and client.close() would never be called
@alexandraBara
alexandraBara merged commit 13de51c into development Sep 18, 2026
7 checks passed
@alexandraBara
alexandraBara deleted the bugfix/ib_disconnect branch September 18, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants