From de9ddc82c305f187d6ab8802641eba9f2c90f0c1 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sun, 22 Nov 2009 02:12:54 +0000 Subject: During a session restore, before bailing because there is no matching table between those in the current database and that stored in the session data, remember to end the current task, otherwise the progress bezel will be displayed indefinitely while locking up the interface. --- Source/TableDocument.m | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/TableDocument.m') diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 98a231ab..d35e4684 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -528,6 +528,7 @@ NSArray *tables = [tablesListInstance tables]; if([tables indexOfObject:[spfSession objectForKey:@"table"]] == NSNotFound) { + [self endTask]; [taskPool drain]; return; } -- cgit v1.2.3