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

Cleanup notification observers #7

Merged
merged 1 commit into from
Jul 30, 2012
Merged

Cleanup notification observers #7

merged 1 commit into from
Jul 30, 2012

Conversation

iceydee
Copy link
Contributor

@iceydee iceydee commented Jul 27, 2012

I had a crash which I could only explain by not removed text field notification observers in the US2FormValidator. In any case it is good practice to clean up afterwards.

0 CoreFoundation 0x34dfe88f exceptionPreprocess + 162
1 libobjc.A.dylib 0x36dcc259 objc_exception_throw + 32
2 CoreFoundation 0x34e01a9b -[NSObject doesNotRecognizeSelector:] + 174
3 CoreFoundation 0x34e00915 __forwarding
+ 300
4 CoreFoundation 0x34d5b650 _CF_forwarding_prep_0 + 48
5 Foundation 0x336354ff __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_0 + 18
6 CoreFoundation 0x34dca547 ___CFXNotificationPost_block_invoke_0 + 70
7 CoreFoundation 0x34d56097 _CFXNotificationPost + 1406
8 Foundation 0x335a93eb -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
9 Foundation 0x335aac1b -[NSNotificationCenter postNotificationName:object:] + 30
10 UIKit 0x314aaa3b -[UITextField fieldEditorDidChange:] + 278

alexfish added a commit that referenced this pull request Jul 30, 2012
Cleanup notification observers
@alexfish alexfish merged commit 6f8f9a1 into ustwo:master Jul 30, 2012
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