This repository was archived by the owner on Dec 19, 2018. It is now read-only.
This repository was archived by the owner on Dec 19, 2018. It is now read-only.
Dispose hosting engine services once the application is shutting down #322
Closed
Description
Scenario: LoggerFactory needs to be disposed once the application shutdown so that dispose can be called on all the registered logger providers. This is so that these logger providers can flush any data that they might be holding.
@Tratcher @HaoK
The proposal is to create a DI scope for hosting engine services which get disposed once the hosting engine is being disposed.