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

Add client atexit shutdown hook on process exit #126

Merged
merged 2 commits into from
Sep 10, 2024
Merged

Conversation

darach
Copy link
Contributor

@darach darach commented Sep 9, 2024

Fixes #76 by adding support for atexit shutdown hooks by default.
The shutdown hook can be called explicitly for more complex ( threaded ) applications

@darach darach requested a review from bahlo September 9, 2024 20:16
src/axiom_py/client.py Outdated Show resolved Hide resolved
Copy link
Member

@bahlo bahlo left a comment

Choose a reason for hiding this comment

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

nice one

@darach darach merged commit ce9cdf0 into axiomhq:main Sep 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to properly close/tear down the Axiom Client? Potential leak of network connections
2 participants