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

[DSL] Don’t dispatch blocks if view controller has been deallocated. #301

Merged
merged 9 commits into from
Jul 21, 2017

Conversation

alloy
Copy link
Collaborator

@alloy alloy commented Jul 21, 2017

While I haven’t been able to proof it, nor create a failing test, I’m pretty sure that this issue leads to some of the cases we’re having where blocks that try to grab properties from VCs that really should not be nil lead to exceptions because we’re trying to insert nil into a NSDictionary.

Also did some faffing to get test suite to run on iOS 9 and some cleanup (not sure why there was a copy of the podspec in Example/?).

@alloy alloy force-pushed the weak-vc-fix branch 3 times, most recently from a29e576 to 5bc2dd1 Compare July 21, 2017 12:34
@alloy
Copy link
Collaborator Author

alloy commented Jul 21, 2017

I don’t know why this is failing. Works fine locally and I’ve changed the Xcode project to build with deployment target 9.0

@orta
Copy link
Owner

orta commented Jul 21, 2017

Will take a look

@orta
Copy link
Owner

orta commented Jul 21, 2017

Boo - hiss, works fine on my machine too.

@orta
Copy link
Owner

orta commented Jul 21, 2017

I bet it's the pod update in CI, vs pod install which we probably did

@orta
Copy link
Owner

orta commented Jul 21, 2017

OK, cool 👍

@orta orta merged commit 96f7357 into master Jul 21, 2017
@orta
Copy link
Owner

orta commented Jul 21, 2017

@alloy this is now shipped as 4.0.2

@alloy
Copy link
Collaborator Author

alloy commented Jul 21, 2017

Ahhhhhhhhhh, yeah makes total sense. Thanks 🙌

alloy added a commit to artsy/eigen that referenced this pull request Jul 21, 2017
Instead we’ll see if updating ARAnalytics fixes these, see:
orta/ARAnalytics#301
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.

2 participants