2
0

Fixed local store migration and possible crash.

[FIXED]     Migration to local store.
[FIXED]     Potential crash when enumerating sheets to dismiss.
This commit is contained in:
Maarten Billemont
2013-09-22 23:46:06 -04:00
parent 693eddb578
commit c5be6bd742
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@
self.suppressOutdatedAlert = NO;
[self updateAnimated:NO];
[[PearlSheet activeSheets] enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
[[[PearlSheet activeSheets] copy] enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
[obj cancelSheetAnimated:NO];
}];
if (![self.navigationController presentedViewController])