Skip to content

Commit a05f4b8

Browse files
author
Michael Hahn
committed
remove double disposal when canceling
1 parent 0bab3ed commit a05f4b8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sdk/identity/Azure.Identity/src/ProcessRunner.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ private bool TrySetCanceled()
172172
{
173173
if (_cancellationToken.IsCancellationRequested)
174174
{
175-
DisposeProcess();
176175
_stdOutCompletionSource.TrySetCanceled(_cancellationToken);
177176
_stdErrCompletionSource.TrySetCanceled(_cancellationToken);
178177
_processExitedCompletionSource.TrySetCanceled(_cancellationToken);

0 commit comments

Comments
 (0)