Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2005-05-20 15:08:25 +0000
committerMichael Valenta2005-05-20 15:08:25 +0000
commitfba64a3d807cd783d04fcd622b2aa9950b10aa40 (patch)
tree7d4572a83b46e9c35e9d1d0252830f94be30ce74 /bundles/org.eclipse.team.cvs.core
parent8fdd28e537f8cf2f2eceff5ed16c3a7214b95bb8 (diff)
downloadeclipse.platform.team-fba64a3d807cd783d04fcd622b2aa9950b10aa40.tar.gz
eclipse.platform.team-fba64a3d807cd783d04fcd622b2aa9950b10aa40.tar.xz
eclipse.platform.team-fba64a3d807cd783d04fcd622b2aa9950b10aa40.zip
Bug 80070 Leak from Synchronize View
Diffstat (limited to 'bundles/org.eclipse.team.cvs.core')
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSRepositoryLocation.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSRepositoryLocation.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSRepositoryLocation.java
index 0aebc34da..f1acf7b96 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSRepositoryLocation.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSRepositoryLocation.java
@@ -697,6 +697,7 @@ public class CVSRepositoryLocation extends PlatformObject implements ICVSReposit
*/
public Connection openConnection(IProgressMonitor monitor) throws CVSException {
// Get the lock for the host to ensure that we are not connecting to the same host concurrently.
+ Policy.checkCanceled(monitor);
ILock hostLock;
synchronized(hostLocks) {
hostLock = (ILock)hostLocks.get(getHost());

Back to the top