Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Over unobserving is ok!

  • Loading branch information...
commit 135bb984e4df9a5a1a1ed118acf45bd0ebcb8398 1 parent 4bd02c0
@schwa authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  NSObject_KVOBlock.m
View
3  NSObject_KVOBlock.m
@@ -114,12 +114,9 @@ - (void)removeKVOBlockForToken:(id)inToken
if (theHelper == NULL)
{
- NSLog(@"KVOBlock never registered?");
return;
}
- NSAssert(theHelper != NULL, @"KVOBlock never registered");
-
void *theContext = (__bridge void *)[theHelper canonicalKeyForKey:inToken];
NSString *theKeyPath = [theHelper keypathForKey:inToken];
[self removeObserver:theHelper forKeyPath:theKeyPath context:theContext];
Please sign in to comment.
Something went wrong with that request. Please try again.