Skip to content

AbstractEncapsulateFieldCommandHandler disables cancellation and still uses cancellation token afterwards #24153

@olegtk

Description

@olegtk

Something weird I noticed: AbstractEncapsulateFieldCommandHandler disables cancellation, but still uses cancellation token after that.
Some audit is required.
First - why exactly it disables cancellation? No other similar refactoring command handlers disable it.
Second - if disabling cancellation is required, we should not use cancellation token that will never be cancelled.

Metadata

Metadata

Assignees

Labels

Area-IDEBugResolution-Not ApplicableThe issue is not relevant to code in this repo and is not an external issue.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions