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

GatewaySupervisor: adding deletes for RunInfoPlugin instances #164

Merged
merged 3 commits into from
May 20, 2024

Conversation

corrodis
Copy link
Contributor

since makeRunInfo calls the constructor of the RunInfoPlugins, making sure we also delete them - and hence call their destructors. This is needed for the RunInfoDB plugging, where the connection to the database is only closed in its destructor (see Mu2e/otsdaq_mu2e#98)

Copy link
Contributor

@rrivera747 rrivera747 left a comment

Choose a reason for hiding this comment

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

Looks good to me - should completely prevent left open connections now. Thanks!

Copy link
Contributor

@eflumerf eflumerf left a comment

Choose a reason for hiding this comment

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

Feel free to update any other bare pointers you find in the code!

@eflumerf eflumerf merged commit 40d5084 into develop May 20, 2024
4 checks passed
@eflumerf eflumerf deleted the feature/RunInfoPluginDeletes branch May 20, 2024 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🎉 Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants