From 896bd5c09cc972e9ec1ba69f45a879821b6ab915 Mon Sep 17 00:00:00 2001 From: Agustin Izaguirre Date: Mon, 11 Mar 2024 21:43:33 +0100 Subject: [PATCH] fix: ChannelAdaptor disconnect lock now a new Object. Fixes #585 --- jpos/src/main/java/org/jpos/q2/iso/ChannelAdaptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ();