mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-15 07:01:28 +00:00
Fixed: remove library CocoaLumberjack in XcodeCapp. This lib added memory leaks when using it in an NSOperation. We now simply use NSLog
This commit is contained in:
@@ -91,7 +91,7 @@ NSString * const XCCNib2CibDidEndNotification = @"XCCNib2C
|
||||
|
||||
- (NSDictionary*)_launchTaskWithCommand:(NSString*)aCommand arguments:(NSArray*)arguments
|
||||
{
|
||||
DDLogVerbose(@"Running processing task: %@ on file: %@", aCommand, self.sourcePath);
|
||||
NSLog(@"Running processing task: %@ on file: %@", aCommand, self.sourcePath);
|
||||
|
||||
self->task = [self->taskLauncher taskWithCommand:aCommand arguments:arguments];
|
||||
|
||||
@@ -184,7 +184,7 @@ NSString * const XCCNib2CibDidEndNotification = @"XCCNib2C
|
||||
|
||||
- (void)main
|
||||
{
|
||||
DDLogVerbose(@"Conversion started: %@", self.sourcePath);
|
||||
NSLog(@"Conversion started: %@", self.sourcePath);
|
||||
|
||||
[self dispatchNotificationName:XCCConversionDidStartNotification];
|
||||
|
||||
@@ -211,7 +211,7 @@ NSString * const XCCNib2CibDidEndNotification = @"XCCNib2C
|
||||
}
|
||||
@catch (NSException *exception)
|
||||
{
|
||||
DDLogVerbose(@"Conversion failed: %@", exception);
|
||||
NSLog(@"Conversion failed: %@", exception);
|
||||
}
|
||||
@finally
|
||||
{
|
||||
@@ -219,10 +219,11 @@ NSString * const XCCNib2CibDidEndNotification = @"XCCNib2C
|
||||
|
||||
self.completionBlock = ^{
|
||||
[weakOperation dispatchNotificationName:XCCConversionDidEndNotification];
|
||||
[weakOperation setCompletionBlock:nil];
|
||||
};
|
||||
}
|
||||
|
||||
DDLogVerbose(@"Conversion ended: %@", self.sourcePath);
|
||||
NSLog(@"Conversion ended: %@", self.sourcePath);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user