lukaspili / Mortar-architect

[DISCONTINUED] Navigation stack for Mortar. Alternative to Flow. Focuses on Mortar scopes, simplicity, seamless integration and killing boilerplate code.
MIT License
164 stars 12 forks source link

ContainerView in null when creating Navigator #21

Open jjvargas opened 8 years ago

jjvargas commented 8 years ago

Looks like it might be a race condition as it happens when I stress changing the orientation

java.lang.NullPointerException: Container view cannot not be null

navigator = ActivityArchitector.onCreateNavigator(this, savedInstanceState, containerView, new MultiTabsStackable());
jjvargas commented 8 years ago

I believe the reason might be because onDestroy is not called sometimes, I can see a Memory Leak using LeakCanary, when that happens.