Fix slow shutdown when a Streamable HTTP client is connected (#843)
* Add "Async" suffix to async methods
This commit is contained in:
parent
d914581471
commit
e01edc143a
1 changed files with 103 additions and 43 deletions
|
|
@ -370,6 +370,7 @@ public class Program
|
|||
var serviceCollection = new ServiceCollection();
|
||||
serviceCollection.AddLogging();
|
||||
serviceCollection.AddSingleton(app.ApplicationServices.GetRequiredService<ILoggerFactory>());
|
||||
serviceCollection.AddSingleton(app.ApplicationServices.GetRequiredService<IHostApplicationLifetime>());
|
||||
serviceCollection.AddSingleton(app.ApplicationServices.GetRequiredService<DiagnosticListener>());
|
||||
serviceCollection.AddRoutingCore();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue