Skip to content

Commit 42ca5ac

Browse files
author
李杰
committed
remove kvo tips
1 parent fb8466f commit 42ca5ac

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

JJException/Source/MRC/NSObject+KVOCrash.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,6 @@ - (void)dealloc{
131131

132132
- (void)clearKVOData{
133133
for (KVOObjectItem* item in self.kvoObjectSet) {
134-
//Invoke the origin removeObserver,do not check array
135-
NSString* observerName = NSStringFromClass(object_getClass(self.whichObject));
136-
handleCrashException(JJExceptionGuardKVOCrash,[NSString stringWithFormat:@"KVO forgot remove keyPath:%@ from which object:%@",item.keyPath,observerName]);
137134
#pragma clang diagnostic push
138135
#pragma clang diagnostic ignored "-Wundeclared-selector"
139136
@try {

0 commit comments

Comments
 (0)