Skip to content

Commit 6e7bd8f

Browse files
authored
Fixing CancellationToken in request handler (#78)
1 parent a140be2 commit 6e7bd8f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<CredentialProviderVersion>0.1.14</CredentialProviderVersion>
4+
<CredentialProviderVersion>0.1.15</CredentialProviderVersion>
55
</PropertyGroup>
66
</Project>

CredentialProvider.Microsoft/RequestHandlers/RequestHandlerBase.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public async Task HandleResponseAsync(IConnection connection, Message message, I
5252
timer.Start();
5353

5454
Connection = connection;
55-
CancellationToken = cancellationToken;
5655

5756
TRequest request = MessageUtilities.DeserializePayload<TRequest>(message);
5857

@@ -95,8 +94,7 @@ bool LogExceptionAndReturnFalse(Exception ex)
9594
Logger.Verbose(ex.ToString());
9695
return false;
9796
}
98-
99-
CancellationToken = CancellationToken.None;
97+
10098
timer.Stop();
10199
}
102100

0 commit comments

Comments
 (0)