diff options
author | stuconnolly <stuart02@gmail.com> | 2009-11-22 02:12:54 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-11-22 02:12:54 +0000 |
commit | de9ddc82c305f187d6ab8802641eba9f2c90f0c1 (patch) | |
tree | 26ceb684e7c85fbaf093c97f30a45b4fd906ca39 | |
parent | 7ead84b0868975752f445d1917bc693a5bf502b7 (diff) | |
download | sequelpro-de9ddc82c305f187d6ab8802641eba9f2c90f0c1.tar.gz sequelpro-de9ddc82c305f187d6ab8802641eba9f2c90f0c1.tar.bz2 sequelpro-de9ddc82c305f187d6ab8802641eba9f2c90f0c1.zip |
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.
-rw-r--r-- | Source/TableDocument.m | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |