Skip to content

Leak CancellationTokenSource in ConvertTo-Json #15740

@iSazonov

Description

@iSazonov

Prerequisites

private readonly CancellationTokenSource _cancellationSource = new();

We should dispose _cancellationSource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Code Cleanupthe issue is for cleaning up the code with no impact on functionalityResolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions