Guocheng Zhang created TUBEMQ-44:
------------------------------------
Summary: Remove unnecessary synchronized definition of shutdown ()
function
Key: TUBEMQ-44
URL: https://issues.apache.org/jira/browse/TUBEMQ-44
Project: Apache TubeMQ
Issue Type: Improvement
Reporter: Guocheng Zhang
Fix For: 0.3.0
Attachments: image-2020-03-09-11-38-47-944.png,
image-2020-03-09-11-39-50-670.png
In the shutdown () of TubeSingleSessionFactory and SimpleMessageProducer, the
assignment has been compared through the AtomicBoolean variable to avoid
repeated releases. This definition is redundant.
!image-2020-03-09-11-38-47-944.png!
!image-2020-03-09-11-39-50-670.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)