Merge branch 'AMQ-8509' into main

This closes #778
This commit is contained in:
Christopher L. Shannon (cshannon) 2022-02-23 07:39:20 -05:00
commit fb7ae908ef
1 changed files with 3 additions and 0 deletions

View File

@ -1064,6 +1064,9 @@ public class Queue extends BaseDestination implements Task, UsageListener, Index
if (systemUsage.getStoreUsage() != null) {
systemUsage.getStoreUsage().stop();
}
if (this.systemUsage.getTempUsage() != null) {
this.systemUsage.getTempUsage().stop();
}
if (store != null) {
store.stop();
}