franz1981 commented on a change in pull request #45:
URL: https://github.com/apache/qpid-jms/pull/45#discussion_r820863114
##########
File path:
qpid-jms-client/src/main/java/org/apache/qpid/jms/transports/netty/NettyTcpTransport.java
##########
@@ -233,15 +228,13 @@ public void close() throws IOException {
if (closed.compareAndSet(false, true)) {
connected.set(false);
try {
- if (channel != null) {
+ if (channel != null && groupRef != null) {
Review comment:
It pop-ups in a failed test execution: it seems that in case of errors
groupRef can be already null so there is no need to close/release it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]