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

producer client closing #794

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

iskakaushik
Copy link
Contributor

No description provided.

@@ -63,6 +63,12 @@ func (c *EventHubConnector) Close() error {
allErrors = errors.Join(allErrors, err)
}

err = c.hubManager.Close(context.Background())
Copy link
Contributor

Choose a reason for hiding this comment

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

add a defensive check for hubManager == nil

@iskakaushik iskakaushik merged commit a1ac3e8 into customer-mirage Dec 11, 2023
3 of 4 checks passed
@serprex serprex deleted the close-producer-client branch July 19, 2024 15:20
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.

2 participants