PR fixes
This commit is contained in:
parent
3a8ea672ea
commit
1ae4c24a5f
|
|
@ -113,10 +113,16 @@ namespace Microsoft.AspNet.Authentication
|
|||
/// </summary>
|
||||
/// <returns>async completion</returns>
|
||||
internal async Task TeardownAsync()
|
||||
{
|
||||
try
|
||||
{
|
||||
await FinishResponseOnce();
|
||||
}
|
||||
finally
|
||||
{
|
||||
UnregisterAuthenticationHandler();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called once by common code after initialization. If an authentication middleware responds directly to
|
||||
|
|
|
|||
Loading…
Reference in New Issue