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

@ -1 +1 @@
Subproject commit f6308a72e58a4dbd71adca81ee5f67971890065c Subproject commit 36c874278107713956fb73b577087343ce25c5df

View File

@ -100,7 +100,7 @@
self.suppressOutdatedAlert = NO; self.suppressOutdatedAlert = NO;
[self updateAnimated: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]; [obj cancelSheetAnimated:NO];
}]; }];
if (![self.navigationController presentedViewController]) if (![self.navigationController presentedViewController])