Skip to content

Commit

Permalink
Fix kvo memory leaks #15
Browse files Browse the repository at this point in the history
  • Loading branch information
李杰 committed Oct 18, 2018
1 parent f455d4d commit 32eb200
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions JJException/Source/MRC/NSObject+KVOCrash.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ - (NSUInteger)hash{
- (void)dealloc{
self.observer = nil;
self.context = nil;
if (self.keyPath) {
[self.keyPath release];
}
[super dealloc];
}

Expand Down

0 comments on commit 32eb200

Please sign in to comment.