Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-10-08 13:47:02 +0000
committerMichael Valenta2003-10-08 13:47:02 +0000
commit43867c5ccee92ea6119ddb57d1e8d84349d1da23 (patch)
treeda29b66019b11a1bfc98d8161e39d8c9bc440a89
parenta5190813e98a1222b8dd1a870eff21a51bd2fd5e (diff)
downloadeclipse.platform.team-43867c5ccee92ea6119ddb57d1e8d84349d1da23.tar.gz
eclipse.platform.team-43867c5ccee92ea6119ddb57d1e8d84349d1da23.tar.xz
eclipse.platform.team-43867c5ccee92ea6119ddb57d1e8d84349d1da23.zip
44409: Can't discard CVS connection
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/RemoteContentProvider.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/RemoteContentProvider.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/RemoteContentProvider.java
index a67476ca8..d7cb29008 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/RemoteContentProvider.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/RemoteContentProvider.java
@@ -130,6 +130,8 @@ public class RemoteContentProvider extends WorkbenchContentProvider {
* @param location
*/
public void cancelJobs(ICVSRepositoryLocation location) {
- manager.cancel(location);
+ if (manager != null) {
+ manager.cancel(location);
+ }
}
}

Back to the top