Skip to content

Commit 6d4fb83

Browse files
authored
[ISSUE #9605] Fixed a potential resource leak (#9606)
1 parent 9609722 commit 6d4fb83

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,6 +1539,10 @@ protected void shutdownBasicService() {
15391539
if (this.transactionalMessageCheckService != null) {
15401540
this.transactionalMessageCheckService.shutdown(false);
15411541
}
1542+
1543+
if (this.loadBalanceExecutor != null) {
1544+
this.loadBalanceExecutor.shutdown();
1545+
}
15421546

15431547
if (this.endTransactionExecutor != null) {
15441548
this.endTransactionExecutor.shutdown();

0 commit comments

Comments
 (0)