Skip to content

Commit

Permalink
Be more defensive in BufferingDisabled test (#12278)
Browse files Browse the repository at this point in the history
Fixes https://github.com/aspnet/AspNetCore-Internal/issues/2826

We [use `?.` in `master`](https://github.com/aspnet/AspNetCore/blob/f56cb72b7fa01ea09c3d3b128aaeb9cee937b371/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.
  • Loading branch information
analogrelay authored Jul 22, 2019
1 parent b4a6780 commit fd5517f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ protected void CleanPublishedOutput()
}
else
{
_publishedApplication.Dispose();
_publishedApplication?.Dispose();
}
}
}
Expand Down

0 comments on commit fd5517f

Please sign in to comment.