EA-29052 - EE: RemoteProcessSupport.acquire: crash handling fix

This commit is contained in:
Gregory.Shrago
2012-07-06 19:54:08 +04:00
parent 6812d3f43b
commit 02e4e932db
@@ -312,7 +312,7 @@ public abstract class RemoteProcessSupport<Target, EntryPoint, Parameters> {
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();
}