AbstractChannel - no reason for channel request response events to share the same underlying lock object. #27

This commit is contained in:
Shikhar Bhushan
2011-08-29 16:45:12 +01:00
parent 1a2351c5ee
commit 01765d24d2

View File

@@ -377,7 +377,8 @@ public abstract class AbstractChannel
Event<ConnectionException> responseEvent = null;
if (wantReply) {
responseEvent = new Event<ConnectionException>("chan#" + id + " / " + "chanreq for " + reqType, ConnectionException.chainer, lock);
responseEvent = new Event<ConnectionException>("chan#" + id + " / " + "chanreq for " + reqType,
ConnectionException.chainer);
chanReqResponseEvents.add(responseEvent);
}
return responseEvent;