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

Close multiple modules question #6

Closed
Foboz opened this issue Dec 18, 2015 · 2 comments
Closed

Close multiple modules question #6

Foboz opened this issue Dec 18, 2015 · 2 comments

Comments

@Foboz
Copy link

Foboz commented Dec 18, 2015

Hi guys, can you provide example how to close multiple modules at a time? Or using "unwind" segues will work like a charm?

@AndreyZarembo
Copy link
Contributor

Unwind segue should work, because root reference of module's object graph is ViewController. If it's released, other module components also should be released.
But if ModuleInput was stored outside of the block to strong reference, it should be cleared manually.

@Foboz
Copy link
Author

Foboz commented Dec 18, 2015

Got it, thank you for your clarifications!

@Foboz Foboz closed this as completed Dec 18, 2015
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

No branches or pull requests

2 participants