Be more defensive in BufferingDisabled test (#12278)

Fixes https://github.com/aspnet/AspNetCore-Internal/issues/2826

We [use `?.` in `master`](f56cb72b7f/src/Hosting/Server.IntegrationTesting/src/Deployers/ApplicationDeployer.cs (L103)) and it seems like the test can end up in this state (by the linked issue) so back-porting that defensive measure seems reasonable.
This commit is contained in:
Andrew Stanton-Nurse 2019-07-22 09:20:40 -07:00 committed by GitHub
parent b4a678079d
commit fd5517f301
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting
}
else
{
_publishedApplication.Dispose();
_publishedApplication?.Dispose();
}
}
}