[ 
https://issues.apache.org/jira/browse/TUBEMQ-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated TUBEMQ-44:
---------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Normal
>              Labels: pull-request-available
>             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)

Reply via email to