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: add missing TFile::Close() to destructors in ROOT writers #1344

Merged
merged 3 commits into from
Jul 26, 2022

Conversation

AJPfleger
Copy link
Contributor

Some ROOT writers were missing an explicit TFile::Close() in their destructors. This led to the following problem: If the program is aborted, we get a segfault in ROOT, since ROOT's clean-up takes place after our clean-up has finished. Now this should not happen anymore.

@AJPfleger AJPfleger added this to the next milestone Jul 26, 2022
Copy link
Member

@paulgessinger paulgessinger left a comment

Choose a reason for hiding this comment

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

lgtm

@kodiakhq kodiakhq bot merged commit fac85d6 into acts-project:main Jul 26, 2022
@AJPfleger AJPfleger deleted the close-writer-destructor branch July 26, 2022 13:10
@paulgessinger paulgessinger modified the milestones: next, v19.6.0 Aug 3, 2022
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.

None yet

2 participants