Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
Description
1. Sometimes Injector creation can fail and in that case all created resources must be disposed anyway.
2. It should be possible to register objects for disposal from @Provides methods - i added DisposableRegistrator for that.
3. Disposables should be processed in reverse order to their registration.
See the attached patch. WDYT?