Skip to content

Commit 5e53cf8

Browse files
authored
use async (#4552)
use asyn
1 parent 280f213 commit 5e53cf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/Microsoft.AutoGen/Microsoft.AutoGen.Runtime.Grpc/GrpcWorkerConnection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public async Task RunReadPump()
9595
}
9696
finally
9797
{
98-
_shutdownCancellationToken.Cancel();
98+
await _shutdownCancellationToken.CancelAsync();
9999
_gateway.OnRemoveWorkerProcess(this);
100100
}
101101
}

0 commit comments

Comments
 (0)