Permalink
Browse files

Bug fix for issue #37

  • Loading branch information...
1 parent c7da108 commit d472c3e55d5c0de251af66dfb408f5f3eb11a9ca @robbiehanson robbiehanson committed May 31, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 Lumberjack/DDFileLogger.m
View
5 Lumberjack/DDFileLogger.m
@@ -82,6 +82,11 @@ - (id)initWithLogsDirectory:(NSString *)aLogsDirectory
return self;
}
+- (void)dealloc
+{
+ [self removeObserver:self forKeyPath:@"maximumNumberOfLogFiles"];
+}
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#pragma mark Configuration
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

0 comments on commit d472c3e

Please sign in to comment.