Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't make dead scopes disappear. #171

Merged
merged 2 commits into from
Aug 4, 2015
Merged

Conversation

rjrjr
Copy link
Collaborator

@rjrjr rjrjr commented Aug 4, 2015

#168

Also moves some test cases out of mortar-dagger1 and into
MortarScopeTest, and copies BundleServiceTest from nasty old
MortarActivityScope test (which needs killing).

@nicholasdower
Copy link

LG

@rjrjr rjrjr force-pushed the ray/can-still-get-dead-scope branch from eebc63f to 22c1e08 Compare August 4, 2015 19:32
* registration list. Recursively destroys all children. Parent scope drops its reference
* to this instance. Redundant calls to this method are safe.
* Sends {@link Scoped#onExitScope()} to all registrants and then clears the registration list
* and drops references to provided services. Parent scope drops its reference to this instance.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need/want to guarantee dropping service references? I'd kinda prefer not to.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@loganj
Copy link
Collaborator

loganj commented Aug 4, 2015

one note, LG otherwise.

#168

Also moves some test cases out of mortar-dagger1 and into
MortarScopeTest, and copies BundleServiceTest from nasty old
MortarActivityScope test (which needs killing).
@rjrjr rjrjr force-pushed the ray/can-still-get-dead-scope branch from 22c1e08 to aaa1d00 Compare August 4, 2015 20:34
@rjrjr rjrjr merged commit aaa1d00 into master Aug 4, 2015
@rjrjr rjrjr deleted the ray/can-still-get-dead-scope branch August 5, 2015 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants