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

Swift: openModuleUsingSegue holds old VC in memory #18

Closed
gnatok opened this issue Jul 18, 2016 · 1 comment
Closed

Swift: openModuleUsingSegue holds old VC in memory #18

gnatok opened this issue Jul 18, 2016 · 1 comment

Comments

@gnatok
Copy link

gnatok commented Jul 18, 2016

screen shot 2016-07-18 at 09 15 41

Привет, на скриншоте видно что у нас в памяти находятся два SecondViewController(3,10,2...) другими словами, кто то держит старые реферы в памяти. Вот реализация Роутера:

screen shot 2016-07-18 at 09 24 58

При подходе с фабриками все ок.

Без moduleOutput ситуация таже.

Думаю на свизлинг. Может у вас будут идеи. Спасибо

@gnatok gnatok changed the title Swift: openModuleUsingSegue holds old VC in memmory Swift: openModuleUsingSegue holds old VC in memory Jul 18, 2016
@gnatok
Copy link
Author

gnatok commented Jul 18, 2016

Проблема была в strong reference transitionHandler.
gnatok/VIPER-SWIFT@abe8486

@gnatok gnatok closed this as completed Jul 18, 2016
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

1 participant