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

Prevent double close in HTTP client __del__ #467

Conversation

piotrm-nvidia
Copy link
Contributor

Can you consider extending del operator to prevent double close() in multi thread environments?

See:
triton-inference-server/server#4223

See:
triton-inference-server/pytriton#63

@piotrm-nvidia piotrm-nvidia force-pushed the piotrm/prevent_double_close branch from 6268ebb to 0f476ad Compare February 6, 2024 16:05
@Tabrizian
Copy link
Member

@jbkyang-nvi / @debermudez let me know if you have any concern with this PR.

@debermudez
Copy link
Contributor

Bandwidth is a bit tight at the moment but this seems like an easy include.
I can run it thru our CI early next week.
Is there already a ticket to track this?

@debermudez
Copy link
Contributor

Added testing and closed by this ticket: #468

@debermudez debermudez closed this Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants