Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis Windatt2013-03-13 12:07:49 -0400
committerCurtis Windatt2013-03-13 12:07:49 -0400
commitf852e6d63ce50adc52549b5ac708c33b00cb6342 (patch)
treec6fecaed0f43c90632634a54f126eaf2d04c3716
parent46442f9f8b348011309e6f44600acc2d71aa4837 (diff)
downloadeclipse.platform.debug-f852e6d63ce50adc52549b5ac708c33b00cb6342.tar.gz
eclipse.platform.debug-f852e6d63ce50adc52549b5ac708c33b00cb6342.tar.xz
eclipse.platform.debug-f852e6d63ce50adc52549b5ac708c33b00cb6342.zip
Bug 335216 - [detail] Widget disposed exception from detail pane proxyN20130318-2000
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ViewerInputUpdate.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ViewerInputUpdate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ViewerInputUpdate.java
index 845ad30d2..dcf9a2015 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ViewerInputUpdate.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ViewerInputUpdate.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2007 IBM Corporation and others.
+ * Copyright (c) 2005, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -65,6 +65,9 @@ public class ViewerInputUpdate extends Request implements IViewerInputUpdate {
*/
protected WorkbenchJob fViewerInputUpdateJob = new WorkbenchJob("Asynchronous viewer input update") { //$NON-NLS-1$
public IStatus runInUIThread(IProgressMonitor monitor) {
+ if (ViewerInputUpdate.this.isCanceled()){
+ return Status.CANCEL_STATUS;
+ }
fRequestor.viewerInputComplete(ViewerInputUpdate.this);
return Status.OK_STATUS;
}

Back to the top