Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Piech2013-03-19 04:12:28 +0000
committerPawel Piech2013-03-19 04:12:55 +0000
commitfc10101c30941301566a8dfe7b6e4f93cc56584e (patch)
treea1b59a598cd648858dbca9570af9ceb655c70afb
parentf852e6d63ce50adc52549b5ac708c33b00cb6342 (diff)
downloadeclipse.platform.debug-fc10101c30941301566a8dfe7b6e4f93cc56584e.tar.gz
eclipse.platform.debug-fc10101c30941301566a8dfe7b6e4f93cc56584e.tar.xz
eclipse.platform.debug-fc10101c30941301566a8dfe7b6e4f93cc56584e.zip
Bug 335216 - [detail] Widget disposed exception from detail pane proxyI20130319-1000
- Added one more guard for canceled viewer input updates.
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ViewerInputService.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ViewerInputService.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ViewerInputService.java
index 1756235b9..0a4e1ac96 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ViewerInputService.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ViewerInputService.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2011 IBM Corporation and others.
+ * Copyright (c) 2007, 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
@@ -47,7 +47,9 @@ public class ViewerInputService {
private IViewerInputRequestor fProxyRequest = new IViewerInputRequestor() {
public void viewerInputComplete(final IViewerInputUpdate update) {
synchronized (ViewerInputService.this) {
- fPendingUpdate = null;
+ if (fPendingUpdate == update) {
+ fPendingUpdate = null;
+ }
}
fRequestor.viewerInputComplete(update);
}

Back to the top