diff options
-rw-r--r-- | Source/TableDocument.m | 3 |
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]; |