Skip to content

[BUG] [Storage] [DataMovement] Dispose use of CancellationTokenSource #33463

Open
@amnguye

Description

@amnguye

Library name and version

Azure.Storage.DataMovement; Azure.Storage.DataMovement.Blobs

Query/Question

Our tests are littered with undisposed CancellationTokenSource that have timers that are not diposed properly.

Probably not the biggest deal since it depends on the end of the test to dispose. But this would probably lighten things a bit.

We should also check to dipose the CancellationTokenSource if it's made internally any where and dispose it properly even if there's no timers.

Environment

No response

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.StorageStorage Service (Queues, Blobs, Files)bugThis issue requires a change to an existing behavior in the product in order to be resolved.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions