Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2005-02-22 19:03:49 +0000
committerslewis2005-02-22 19:03:49 +0000
commite574d165398fe052d7a5c6cc300cc4916a488b41 (patch)
tree6f4e307dcdd83b6c8585771919236aa29bb5127b
parent41e778b7c946ea6a8eabea4fe8ee2f494fc0f836 (diff)
downloadorg.eclipse.ecf-e574d165398fe052d7a5c6cc300cc4916a488b41.tar.gz
org.eclipse.ecf-e574d165398fe052d7a5c6cc300cc4916a488b41.tar.xz
org.eclipse.ecf-e574d165398fe052d7a5c6cc300cc4916a488b41.zip
Fix for bug in handling of ChatWindow disposal
-rw-r--r--framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/ChatWindow.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/ChatWindow.java b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/ChatWindow.java
index 809b4565a..777f90cee 100644
--- a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/ChatWindow.java
+++ b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/ChatWindow.java
@@ -327,7 +327,7 @@ public class ChatWindow extends ApplicationWindow implements IMessageViewer {
*/
protected void handleShellCloseEvent() {
if (!getShell().isDisposed()) {
- if (!disposed) {
+ if (disposed) {
chat.dispose();
chat = null;
getShell().dispose();

Back to the top