mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-27 04:58:55 +00:00
Merge pull request #327 from helsinki-systems/fix/duplicated-recurrence-rules
Fix OOM when having a lot of recurrence rules
This commit is contained in:
1 file changed
+3
-1
@@ -1358,7 +1358,9 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||
rules = [component recurrenceRulesWithTimeZone: tz];
|
||||
exRules = [component exceptionRulesWithTimeZone: tz];
|
||||
}
|
||||
|
||||
|
||||
rules = [rules uniqueObjects];
|
||||
|
||||
// Calculate the occurrences for the given range
|
||||
records = [NSMutableArray array];
|
||||
ranges =
|
||||
|
||||
Reference in new issue
Block a user