Skip to content

Commit

Permalink
.Net Remove SKCancelEventArgs unneeded finalizer (#3249)
Browse files Browse the repository at this point in the history
### Motivation and Context

Garba Collection will handle this scenario normally

### Description

Removal of unneeded implementation.

### Contribution Checklist

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
  • Loading branch information
RogerBarreto authored Oct 23, 2023
1 parent 078f445 commit d70bd6b
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,4 @@ public void Cancel()
{
this._cancelTokenSource.Cancel();
}

/// <summary>
/// Dispose resources.
/// </summary>
~SKCancelEventArgs()
{
this._cancelTokenSource.Dispose();
}
}

0 comments on commit d70bd6b

Please sign in to comment.