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

refactor(iot-device): Add additional logging statement to disposal flow #2414

Merged
merged 4 commits into from
May 26, 2022

Conversation

abhipsaMisra
Copy link
Member

image

@abhipsaMisra
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@abhipsaMisra
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@abhipsaMisra abhipsaMisra enabled auto-merge (squash) May 26, 2022 00:02
@abhipsaMisra abhipsaMisra merged commit 929a6d3 into main May 26, 2022
@abhipsaMisra abhipsaMisra deleted the abmisr/disposeLogs branch May 26, 2022 00:13
}
if (Logging.IsEnabled)
{
Logging.Enter(this, $"{nameof(DefaultDelegatingHandler)}.Disposed={_disposed}; disposing={disposing}", $"{nameof(TransportHandler)}.{nameof(Dispose)}");
Copy link
Contributor

Choose a reason for hiding this comment

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

Why DefaultDelegatingHandler?

Copy link
Member Author

Choose a reason for hiding this comment

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

The _disposed parameter referenced throughout our delegating handler pipeline is actually the protected variable defined in DefaultDelegatingHandler:

This, along with the way base.Dispose() and inherited.Dispose() are mixed in our pipeline disposal flow is something I'm looking to refactor.

drwill-ms pushed a commit that referenced this pull request Jun 2, 2022
* refactor(e2e-tests): Update provisioning tests to retry on throttling (#2411)

* refactor(e2e-tests): Update reprovisioning tests to retry on throttling

* refactor(iot-device): Add additional logging statement to disposal flow (#2414)

* fix(iot-device): Fix twin operations with Mqtt to retry on throttling (#2416)

* Add documentation about HttpClient and socket exhaustion to service clients (#2423)

Co-authored-by: Abhipsa Misra <[email protected]>
Co-authored-by: brycewang-microsoft <[email protected]>
timstewartm pushed a commit to timstewartm/azure-iot-sdk-csharp that referenced this pull request May 30, 2024
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.

3 participants