diff --git a/Block Management/BlockManager.m b/Block Management/BlockManager.m index 4221315..d7989f5 100644 --- a/Block Management/BlockManager.m +++ b/Block Management/BlockManager.m @@ -191,12 +191,13 @@ - (void)addBlockEntryFromString:(NSString*)entryString { // nil means that we don't have anything valid to block in this entry if (entry == nil) return; - [self addBlockEntry: entry]; - + // enqueue new entries _before_ running this one, so they can happen in parallel NSArray* relatedEntries = [self relatedBlockEntriesForEntry: entry]; for (SCBlockEntry* relatedEntry in relatedEntries) { [self enqueueBlockEntry: relatedEntry]; } + + [self addBlockEntry: entry]; } - (void)addBlockEntriesFromStrings:(NSArray*)blockList {