Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2015-02-06 05:28:26 -0500
committerTobias Schwarz2015-02-06 05:28:26 -0500
commitd8e9bca9a23517336c75684807149b23e6cac56d (patch)
tree9f1f46dcc0101f98afa7e3b7e11986d6f84eafb3
parentd5c06e6b3874031e4d19580f211f21efd2eff879 (diff)
downloadorg.eclipse.tcf-d8e9bca9a23517336c75684807149b23e6cac56d.tar.gz
org.eclipse.tcf-d8e9bca9a23517336c75684807149b23e6cac56d.tar.xz
org.eclipse.tcf-d8e9bca9a23517336c75684807149b23e6cac56d.zip
SM: fix reconnect problem
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/steps/WaitForReadyStep.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/steps/WaitForReadyStep.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/steps/WaitForReadyStep.java
index e760d5882..525c6cdd5 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/steps/WaitForReadyStep.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/steps/WaitForReadyStep.java
@@ -180,11 +180,13 @@ public class WaitForReadyStep extends AbstractPeerNodeStep {
@Override
public void rollback(final IStepContext context, final IPropertiesContainer data, final IStatus status, final IFullQualifiedId fullQualifiedId, final IProgressMonitor monitor, final ICallback callback) {
final IPeer peer = getActivePeerContext(context, data, fullQualifiedId);
+ final IPeerNode peerNode = getActivePeerModelContext(context, data, fullQualifiedId);
Runnable runnable = new Runnable() {
@SuppressWarnings("synthetic-access")
@Override
public void run() {
+ peerNode.setProperty(IPeerNodeProperties.PROP_EXIT_ERROR, null);
Tcf.getChannelManager().shutdown(peer);
WaitForReadyStep.super.rollback(context, data, status, fullQualifiedId, monitor, callback);
}

Back to the top