Skip to content

Commit

Permalink
[ISSUE apache#762]fix defaultAsyncSenderExecutor not shutdown when D…
Browse files Browse the repository at this point in the history
…efaultMQProducerImpl shutdown. (apache#880)

[ISSUE apache#762 ]fix defaultAsyncSenderExecutor not shutdown when DefaultMQProducerImpl shutdown.
  • Loading branch information
zongtanghu authored and ShannonDing committed Feb 28, 2019
1 parent 2a474fd commit 22b0171
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ public void shutdown(final boolean shutdownFactory) {
break;
case RUNNING:
this.mQClientFactory.unregisterProducer(this.defaultMQProducer.getProducerGroup());
this.defaultAsyncSenderExecutor.shutdown();
if (shutdownFactory) {
this.mQClientFactory.shutdown();
}
Expand Down

0 comments on commit 22b0171

Please sign in to comment.