mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-03 07:49:24 +00:00
This closes #290
This commit is contained in:
commit
24cb5458f1
@ -103,7 +103,9 @@ public class NettyConnection implements Connection {
|
||||
@Override
|
||||
public boolean isWritable(ReadyListener callback) {
|
||||
synchronized (readyListeners) {
|
||||
readyListeners.push(callback);
|
||||
if (!ready) {
|
||||
readyListeners.push(callback);
|
||||
}
|
||||
|
||||
return ready;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user