Small threading memory leak fix.
parent
4168bb43eb
commit
8dee65b8b6
|
@ -291,6 +291,7 @@
|
|||
[queue addOperation:readEntryInfoOperation];
|
||||
oldReadEntryInfoOperation = [readEntryInfoOperation retain];
|
||||
}
|
||||
[oldReadEntryInfoOperation release];
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -339,6 +340,13 @@
|
|||
// stop observing
|
||||
[object removeObserver:self forKeyPath:keyPath];
|
||||
}
|
||||
else
|
||||
{
|
||||
[super observeValueForKeyPath:keyPath
|
||||
ofObject:object
|
||||
change:change
|
||||
context:context];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)addURLs:(NSArray *)urls sort:(BOOL)sort
|
||||
|
|
Loading…
Reference in New Issue