Skip to content

Commit

Permalink
fix: ChannelAdaptor disconnect lock now a new Object. Fixes jpos#510
Browse files Browse the repository at this point in the history
  • Loading branch information
Agustin Izaguirre committed Mar 11, 2024
1 parent da7ccae commit 6c95c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jpos/src/main/java/org/jpos/q2/iso/ChannelAdaptor.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
Expand Down

0 comments on commit 6c95c7b

Please sign in to comment.