v7.2.2
-
Composition.Lite
- Added support for internally/externally owned service instances in Lite composition
-
Core
- Made ambient services disposable.
- Register log managers as internally owned, to be able to dispose them properly, so that the logging gets properly flushed.
- Made ambient services register itself and the composition context as externally owned.
-
Logging
- Made the SerilogManager disposable. On dispose the root loger will be disposed.
- Made the Log4NetManager disposable. No static method calls, instead work with a repository. On dispose the repository will be disposed.
- Made the NLogManager disposable. No static method calls, instead work with a log factory. On dispose the log factory will be disposed.
-
Application
- Upon application termination, dispose the ambient services to flush the loggers and terminate gracefully other registered services.