Azure / azure-functions-durable-extension

Durable Task Framework extension for Azure Functions
MIT License
713 stars 270 forks source link

Suppress execution context from token renewal #2782

Closed jviau closed 5 months ago

jviau commented 5 months ago

Suppress execution context from the background token renewal operations. The renewal uses the logger, and so we will capture whatever current log scope is present, leaking that scope into this background thread. This is both a small memory leak and potential object disposed failure (the log scope or its contents may be disposed at any point).

Issue describing the changes in this PR

resolves #issue_for_this_pr

Pull request checklist

jviau commented 5 months ago

I wonder if this will address https://github.com/Azure/azure-functions-durable-extension/issues/2771?