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

Call removeFromParentViewController after removeFromSuperview in setCent... #324

Merged
merged 1 commit into from
Mar 16, 2015

Conversation

long
Copy link
Contributor

@long long commented Jan 20, 2015

...erViewController to avoid EXC_BAD_ACCESS due to nil view value

Resolves an encountered issue with NappDrawer (viezel/NappDrawer#139) where setting the center window would result in an app crash

…enterViewController to avoid EXC_BAD_ACCESS due to nil view value
@caspahouzer
Copy link

👍

1 similar comment
@mpociot
Copy link

mpociot commented Jan 22, 2015

👍

@kcharwood
Copy link
Contributor

Sorry for just getting to this. I'll get this reviewed and tested this week!

@kcharwood kcharwood added the bug label Mar 10, 2015
@kcharwood kcharwood added this to the 0.6.0 milestone Mar 10, 2015
kcharwood added a commit that referenced this pull request Mar 16, 2015
Call removeFromParentViewController after removeFromSuperview in setCent...
@kcharwood kcharwood merged commit 1f10c35 into mutualmobile:master Mar 16, 2015
@kcharwood
Copy link
Contributor

Thanks!

@bjarkehs
Copy link

bjarkehs commented Feb 9, 2016

This causes quite a few issues for a project I'm maintaining. After updating to 0.6.0 from 0.5.7 I start experiencing that my viewControllers are not actually dealloc'ed. If I revert this specific change, then everything works as expected. Any ideas?

@moonvader
Copy link

same question about viewControllers being actually dealloc'ed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants