Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-03-31 23:35:01 +0000
committerslewis2008-03-31 23:35:01 +0000
commit3c221ec5476703253a9a9b70f607b0eab2df59c0 (patch)
tree3c765d5ffa3ee080837ab6e10e35277a10c87839
parent979f5f3e1e7743dca9ed62b832eb1332f8fe83cb (diff)
downloadorg.eclipse.ecf-3c221ec5476703253a9a9b70f607b0eab2df59c0.tar.gz
org.eclipse.ecf-3c221ec5476703253a9a9b70f607b0eab2df59c0.tar.xz
org.eclipse.ecf-3c221ec5476703253a9a9b70f607b0eab2df59c0.zip
Fix for xmpp dispose bugv20080331-0800
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/provider/xmpp/XMPPContainer.java16
1 files changed, 3 insertions, 13 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/provider/xmpp/XMPPContainer.java b/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/provider/xmpp/XMPPContainer.java
index 8c0b9463b..1e5589dc1 100644
--- a/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/provider/xmpp/XMPPContainer.java
+++ b/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/provider/xmpp/XMPPContainer.java
@@ -211,19 +211,9 @@ public class XMPPContainer extends ClientSOContainer implements IPresenceService
* @see org.eclipse.ecf.provider.generic.ClientSOContainer#dispose()
*/
public void dispose() {
- if (presenceHelper != null) {
- presenceHelperID = null;
- presenceHelper = null;
- }
- if (chatRoomManager != null)
- chatRoomManager.dispose();
- chatRoomManager = null;
- if (accountManager != null)
- accountManager.dispose();
- accountManager = null;
- if (outgoingFileTransferContainerAdapter != null)
- outgoingFileTransferContainerAdapter.dispose();
- outgoingFileTransferContainerAdapter = null;
+ chatRoomManager.dispose();
+ accountManager.dispose();
+ outgoingFileTransferContainerAdapter.dispose();
super.dispose();
}

Back to the top