Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2013-03-27 17:26:52 -0400
committerEugene Tarassov2013-03-27 17:26:52 -0400
commit47fc9f3ece29fc1a8e2b5cfbc79574baf2004503 (patch)
tree7c955e87d1b48dccc2cde365ab781cc0e805c97c /plugins
parent291cc38c071ae8fbc39b163605def1c4e4cfd272 (diff)
downloadorg.eclipse.tcf-47fc9f3ece29fc1a8e2b5cfbc79574baf2004503.tar.gz
org.eclipse.tcf-47fc9f3ece29fc1a8e2b5cfbc79574baf2004503.tar.xz
org.eclipse.tcf-47fc9f3ece29fc1a8e2b5cfbc79574baf2004503.zip
TCF Debugger: fixed: assertion fails at CreateNodeRunnable.run() when a context changed event happens while CreateNodeRunnable is searching for the context
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModel.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModel.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModel.java
index 5d679b3ce..ef00368a5 100644
--- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModel.java
+++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModel.java
@@ -1329,8 +1329,10 @@ public class TCFModel implements ITCFModel, IElementContentProvider, IElementLab
}
public void run() {
- assert context_map.get(id) == this;
- if (service_list.size() == 0) {
+ if (context_map.get(id) != this) {
+ done(context_map.get(id));
+ }
+ else if (service_list.size() == 0) {
done(new Exception("Invalid context ID"));
}
else {

Back to the top