mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@613899 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b16d55f79a
commit
17e22cff6f
|
@ -252,7 +252,7 @@ public abstract class Usage<T extends Usage> implements Service {
|
|||
usageMutex.notifyAll();
|
||||
for (Iterator<Runnable> iter = new ArrayList<Runnable>(callbacks).iterator(); iter.hasNext();) {
|
||||
Runnable callback = iter.next();
|
||||
callback.run();
|
||||
getExecutor().execute(callback);
|
||||
}
|
||||
callbacks.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue