diff --git a/jpos/src/main/java/org/jpos/q2/iso/ChannelAdaptor.java b/jpos/src/main/java/org/jpos/q2/iso/ChannelAdaptor.java index 602c01c48b..a09be1fe1d 100644 --- a/jpos/src/main/java/org/jpos/q2/iso/ChannelAdaptor.java +++ b/jpos/src/main/java/org/jpos/q2/iso/ChannelAdaptor.java @@ -60,7 +60,7 @@ public class ChannelAdaptor boolean waitForWorkersOnStop; private Thread receiver; private Thread sender; - private final Object disconnectLock = Boolean.TRUE; + private final Object disconnectLock = new Object(); public ChannelAdaptor () { super ();