Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2004-09-02 15:07:40 +0000
committerJean Michel-Lemieux2004-09-02 15:07:40 +0000
commit20ff0408b23ed783fca896f9df68cf58471f55d1 (patch)
treebb1b5519762698ef05d2cef3f93c94ff4bd55d82 /bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeView.java
parent185e8bac643527725db03bad3809fac998766d35 (diff)
downloadeclipse.platform.team-20ff0408b23ed783fca896f9df68cf58471f55d1.tar.gz
eclipse.platform.team-20ff0408b23ed783fca896f9df68cf58471f55d1.tar.xz
eclipse.platform.team-20ff0408b23ed783fca896f9df68cf58471f55d1.zip
Bug 73105 Clipboard leaked from CopyToClipboardAction
Diffstat (limited to 'bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeView.java')
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeView.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeView.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeView.java
index d55385fc2..ae6b4efbc 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeView.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeView.java
@@ -199,13 +199,15 @@ public class SynchronizeView extends PageBookView implements ISynchronizeView, I
public void dispose() {
super.dispose();
TeamUI.getSynchronizeManager().removeSynchronizeParticipantListener(this);
+ // Pin action is hooked up to listeners, must call dispose to un-register.
+ fPinAction.dispose();
+ // Remember the last active participant
if(activeParticipantRef != null) {
IDialogSettings section = getDialogSettings();
section.put(KEY_LAST_ACTIVE_PARTICIPANT, activeParticipantRef.getId());
}
fParticipantToPart = null;
- fPartToParticipant = null;
-
+ fPartToParticipant = null;
}
/* (non-Javadoc)

Back to the top