Skip to content

Commit

Permalink
Bug fix for issue CocoaLumberjack#37
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiehanson committed May 31, 2012
1 parent c7da108 commit d472c3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Lumberjack/DDFileLogger.m
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ - (id)initWithLogsDirectory:(NSString *)aLogsDirectory
return self;
}

- (void)dealloc
{
[self removeObserver:self forKeyPath:@"maximumNumberOfLogFiles"];
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#pragma mark Configuration
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit d472c3e

Please sign in to comment.