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

Cleanup in atexit #3184

Closed
wants to merge 1 commit into from
Closed

Cleanup in atexit #3184

wants to merge 1 commit into from

Conversation

christailu
Copy link
Contributor

Description

This change modifies the atexit_cleanup function in the codebase to ensure reliable cleanup behavior upon Python process exit. It introduces a new implementation while maintaining the same output as the original function.

Changed Behaviour

After this change, the atexit_cleanup function will still log messages indicating whether cleanup is performed due to the Python process exiting or if cleanup has already been completed. However, the implementation of the function is updated to ensure robustness and handle exceptions during cleanup more effectively.

Fixes

Fixes # (3165)

Type of change

Choose which options apply, and delete the ones which do not apply.

  • Bug fix

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.

1 participant