Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2004-05-02 22:26:41 -0400
committerJean Michel-Lemieux2004-05-02 22:26:41 -0400
commit0e108e290996da2fd77de685bd4edb780049c3a3 (patch)
tree2060c07f29a022781ca5e6a13b7941e6b0f46814
parentfb6a9c651442a3e553e07112f222893f959123a5 (diff)
downloadeclipse.platform.team-0e108e290996da2fd77de685bd4edb780049c3a3.tar.gz
eclipse.platform.team-0e108e290996da2fd77de685bd4edb780049c3a3.tar.xz
eclipse.platform.team-0e108e290996da2fd77de685bd4edb780049c3a3.zip
Handle shutdown for outgoing additions.
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/RemoteRevisionQuickDiffProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/RemoteRevisionQuickDiffProvider.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/RemoteRevisionQuickDiffProvider.java
index a562647c0..25c533b75 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/RemoteRevisionQuickDiffProvider.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/RemoteRevisionQuickDiffProvider.java
@@ -166,7 +166,6 @@ public class RemoteRevisionQuickDiffProvider implements IQuickDiffReferenceProvi
*/
public void dispose() {
fReferenceInitialized = false;
- fReference = null;
// stop update job
if(fUpdateJob != null && fUpdateJob.getState() != Job.NONE) {
fUpdateJob.cancel();
@@ -256,6 +255,7 @@ public class RemoteRevisionQuickDiffProvider implements IQuickDiffReferenceProvi
setDocumentContent(fReference, stream, encoding);
} else {
// the remote is null, so ensure that the document is null
+ if(monitor.isCanceled()) return;
fReference.set(""); //$NON-NLS-1$
}
if(DEBUG) System.out.println("+ CVSQuickDiff: updating document " + (fReference!=null ? "remote found" : "remote empty")); //$NON-NLS-1$ //$NON-NLS-2$

Back to the top