aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDocument.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-04-17 18:23:08 +0000
committerrowanbeentje <rowan@beent.je>2010-04-17 18:23:08 +0000
commit932fdc78e4c6739371edf3629a11a0659beb5c1e (patch)
treed7005b98ac62c75680a49c0d384d5b1a852d9c29 /Source/TableDocument.m
parent4e502e7d0db2e3e9a2c94b8952225d19c2ea893f (diff)
downloadsequelpro-932fdc78e4c6739371edf3629a11a0659beb5c1e.tar.gz
sequelpro-932fdc78e4c6739371edf3629a11a0659beb5c1e.tar.bz2
sequelpro-932fdc78e4c6739371edf3629a11a0659beb5c1e.zip
- Fix a bug in 10.5.8 where a background connection window would overrelease on crash, by moving from automatic/inherited window management for the task spinner to fully managed. This addresses http://spbug.com/l/4 .
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r--Source/TableDocument.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index 2e2d045d..16b0a6f0 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -239,7 +239,7 @@
[taskProgressWindow setAlphaValue:0.0];
[taskProgressWindow orderFront:self];
[tableWindow addChildWindow:taskProgressWindow ordered:NSWindowAbove];
- [taskProgressWindow release];
+ [taskProgressWindow setReleasedWhenClosed:YES];
[taskProgressWindow setContentView:taskProgressLayer];
[self centerTaskWindow];
}
@@ -4059,6 +4059,7 @@
[allDatabases release];
[allSystemDatabases release];
[printWebView release];
+ [taskProgressWindow close];
if (connectionController) [connectionController release];
if (processListController) [processListController release];