adium 3134:715dc09cdcb5: Cancel all currently running and queued...
commits at adium.im
commits at adium.im
Thu Feb 18 15:40:42 UTC 2010
details: http://hg.adium.im/adium/rev/715dc09cdcb5
revision: 3134:715dc09cdcb5
author: Stephen Holt <sholt at adium.im>
date: Thu Feb 18 10:40:30 2010 -0500
Cancel all currently running and queued operations when the logger is asked to clean up and close the logs.
diffs (11 lines):
diff -r d1c1aaf94dfb -r 715dc09cdcb5 Source/AILoggerPlugin.m
--- a/Source/AILoggerPlugin.m Thu Feb 18 07:57:17 2010 -0500
+++ b/Source/AILoggerPlugin.m Thu Feb 18 10:40:30 2010 -0500
@@ -1129,6 +1129,7 @@
- (void)cleanUpLogContentSearching
{
indexingAllowed = NO;
+ [[[self class] operationQueue] cancelAllOperations];
[[[self class] operationQueue] addOperation:
[[NSInvocationOperation alloc] initWithTarget:self
selector:@selector(closeLogIndex)
More information about the commits
mailing list