Skip to content

Commit

Permalink
Merge pull request #2241 from quicksilver/indexing
Browse files Browse the repository at this point in the history
don't check index validity during a scan
  • Loading branch information
pjrobertson committed Jul 30, 2016
2 parents db2682c + 3502afb commit b859738
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Quicksilver/Code-QuickStepCore/QSCatalogEntry.m
Expand Up @@ -573,6 +573,9 @@ - (void)invalidateIndex:(NSNotification *)notif {
}

- (BOOL)indexIsValid {
if (self.isScanning) {
return YES;
}
__block BOOL isValid = YES;
QSGCDQueueSync(scanQueue, ^{
[[NSNotificationCenter defaultCenter] postNotificationName:QSCatalogEntryIsIndexingNotification object:self];
Expand Down

0 comments on commit b859738

Please sign in to comment.