Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Make ApplicationInsightsConfiguration implement IDisposable#323

Merged
xavierdecoster merged 1 commit intomasterfrom
dev-issue837
Dec 4, 2019
Merged

Make ApplicationInsightsConfiguration implement IDisposable#323
xavierdecoster merged 1 commit intomasterfrom
dev-issue837

Conversation

@xavierdecoster
Copy link
Copy Markdown
Contributor

/// </summary>
public DiagnosticsTelemetryModule DiagnosticsTelemetryModule { get; }

public void Dispose()
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Who's responsibility is it to call this dispose?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The caller of ApplicationInsights.Initialize, which typically is the application host that will configure DI and handle lifetime of those objects.

@xavierdecoster xavierdecoster merged commit f33967c into master Dec 4, 2019
@xavierdecoster xavierdecoster deleted the dev-issue837 branch December 5, 2019 08:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants