From 02e4e932db5faf7c1cf3b7df30f8af4c473bcd63 Mon Sep 17 00:00:00 2001 From: "Gregory.Shrago" Date: Fri, 6 Jul 2012 19:52:56 +0400 Subject: [PATCH] EA-29052 - EE: RemoteProcessSupport.acquire: crash handling fix --- .../src/com/intellij/execution/rmi/RemoteProcessSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/execution/rmi/RemoteProcessSupport.java b/platform/lang-impl/src/com/intellij/execution/rmi/RemoteProcessSupport.java index 8bb7afc4d76b..825fd267402a 100644 --- a/platform/lang-impl/src/com/intellij/execution/rmi/RemoteProcessSupport.java +++ b/platform/lang-impl/src/com/intellij/execution/rmi/RemoteProcessSupport.java @@ -312,7 +312,7 @@ public abstract class RemoteProcessSupport { Info info; synchronized (myProcMap) { info = myProcMap.get(key); - if (info != null && info.handler != null && info.handler == handler) { + if (info != null && (handler == null || info.handler == handler)) { myProcMap.remove(key); myProcMap.notifyAll(); }