Skip to content

Commit

Permalink
Fixing CancellationToken in request handler (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
satbai authored Mar 12, 2019
1 parent a140be2 commit 6e7bd8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<CredentialProviderVersion>0.1.14</CredentialProviderVersion>
<CredentialProviderVersion>0.1.15</CredentialProviderVersion>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ public async Task HandleResponseAsync(IConnection connection, Message message, I
timer.Start();

Connection = connection;
CancellationToken = cancellationToken;

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

Expand Down Expand Up @@ -95,8 +94,7 @@ bool LogExceptionAndReturnFalse(Exception ex)
Logger.Verbose(ex.ToString());
return false;
}

CancellationToken = CancellationToken.None;

timer.Stop();
}

Expand Down

0 comments on commit 6e7bd8f

Please sign in to comment.