Skip to content

MonitoredParallelInstructionSpecs enqueues incorrect exception #30

Description

@HSalaila

MonitoredParallelInstructionSpecs don't throw cancellation exception belonging to the supplied cancellation token;

suggested fix:
the Parallelize method registers a callback on it's cancellation token.
In the body of that method not just any OperationCancelledException should be enqueued, but the OperationCancelledExeption generated by the CancellationToken's ThrowIfCancellationRequested().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions