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

feat: add shutdown() to ConnectorRegistry #335

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

ttosta-google
Copy link
Collaborator

Fixes #305

@ttosta-google ttosta-google force-pushed the gh-305-add-shutdown branch 2 times, most recently from 5e83ef1 to dfdd571 Compare December 8, 2023 21:15
@ttosta-google ttosta-google marked this pull request as ready for review December 8, 2023 21:19

/** Calls shutdown on the singleton. */
public void shutdownInstance() {
shutdown = true;
Copy link
Member

Choose a reason for hiding this comment

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

Should this be thread-safe?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes. Thanks for catching that.

@ttosta-google ttosta-google merged commit ce4de4e into main Dec 11, 2023
16 checks passed
@ttosta-google ttosta-google deleted the gh-305-add-shutdown branch December 11, 2023 23:46
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.

Add shutdown to the ConnectorRegistry
2 participants