Repository navigation
Fluxject version 1.3 improves a lot of default behavior that an IoC library should have.
Features
- Transient Services are now one-time use services-- meaning that any action will result in the service's disposal immediately after the action has completed.
- Promises and Functions are still handled like normal. Only the service now gets disposed after the function call, property access, or after a returned promise resolves.
- Disposal of services from a host provider will be handled in the order of Scoped services then Singleton services.
Bug Fixes
- Fixed bug where scoped providers that called
.dispose()would not clear their reference from the host provider that derived it. This was causing memory leaks. - Fixed bug where Singleton services may not be disposed of if a scoped service was disposed of
- Fixed bug where Services would receive a lazy reference to their own service as an available dependency.