Skip to content

RequestExecutionQueue fails to dispose of a linked CancellationTokenSource #60649

@sharwell

Description

@sharwell

The following combined token is never disposed:

var combinedTokenSource = _cancelSource.Token.CombineWith(requestCancellationToken);

This produced a memory leak, where all cancellation token sources for the request queue are retained indefinitely.

Also filed internally:

AB#1495106
AB#1464066

Metadata

Metadata

Assignees

Labels

Area-IDEuntriagedIssues and PRs which have not yet been triaged by a lead

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions