https://issues.apache.org/jira/browse/ARTEMIS-320 fixing memory leak
This commit is contained in:
parent
1e8eee0fb7
commit
d1c1c50aa2
|
@ -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…
Reference in New Issue