Correct documentation wording (#6220)

This commit is contained in:
Mazioudi Anas 2019-01-02 22:41:44 +01:00 committed by Chris Ross
parent 6469851a12
commit 5665d78ffe
1 changed files with 2 additions and 2 deletions

View File

@ -186,8 +186,8 @@ namespace Microsoft.AspNetCore.Hosting
}
catch
{
// Dispose the host if there's a failure to initialize, this should clean up
// will dispose services that were constructed until the exception was thrown
// Dispose the host if there's a failure to initialize, this should dispose
// services that were constructed until the exception was thrown
host.Dispose();
throw;
}