mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-08 16:18:05 +03:00
AbstractChannel - no reason for channel request response events to share the same underlying lock object. #27
This commit is contained in:
@@ -377,7 +377,8 @@ public abstract class AbstractChannel
|
|||||||
|
|
||||||
Event<ConnectionException> responseEvent = null;
|
Event<ConnectionException> responseEvent = null;
|
||||||
if (wantReply) {
|
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);
|
chanReqResponseEvents.add(responseEvent);
|
||||||
}
|
}
|
||||||
return responseEvent;
|
return responseEvent;
|
||||||
|
|||||||
Reference in New Issue
Block a user