Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue around host garbage collection #343

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

JacobCallahan
Copy link
Member

As identified in #334, we can get into a state during garbage collection where a Host instance's _session attribute is missing. However, the del method calls close, which expects that attribute to be in place.
In this change, we add a couple of conditions to the del to gate the close call.

fixes #334

As identified in SatelliteQE#334, we can get into a state during garbage collection
where a Host instance's _session attribute is missing.
However, the del method calls close, which expects that attribute to be
in place.
In this change, we add a couple of conditions to the del to gate the
close call.

fixes SatelliteQE#334
@JacobCallahan JacobCallahan added the bug Something isn't working label Jan 15, 2025
@JacobCallahan JacobCallahan requested a review from Copilot January 15, 2025 19:02
@JacobCallahan JacobCallahan self-assigned this Jan 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@JacobCallahan JacobCallahan merged commit ddda515 into SatelliteQE:master Jan 15, 2025
4 checks passed
@JacobCallahan JacobCallahan deleted the safe_del branch January 15, 2025 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError: 'Satellite' object has no attribute '_session'
1 participant