Remove a nullref in test logs (#2925)

This commit is contained in:
BrennanConroy 2018-09-07 10:39:24 -07:00 committed by GitHub
parent 39e6c6ff2f
commit b9e118b61f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ namespace Microsoft.AspNetCore.SignalR.Tests
_lifetime.ApplicationStopped.Register(() =>
{
_logger.LogInformation("Test server shut down");
_logToken.Dispose();
_logToken?.Dispose();
});
}