diff options
author | Martin Ritchie <ritchiem@apache.org> | 2008-03-17 17:46:54 +0000 |
---|---|---|
committer | Martin Ritchie <ritchiem@apache.org> | 2008-03-17 17:46:54 +0000 |
commit | 5fd6a45806455ab7a83660e209e0aabeb66ce47c (patch) | |
tree | 53e1e7901bd73383c171762826e6f1e8d971ccb1 | |
parent | ddd769ed901ea44163dd154ea978957d5dddeed7 (diff) | |
download | qpid-python-5fd6a45806455ab7a83660e209e0aabeb66ce47c.tar.gz |
QPID-858 : Added cancel to the housekeeping thread when the vhost is closed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637991 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java b/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java index 90004a028c..3ff9b8c356 100644 --- a/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java +++ b/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java @@ -286,6 +286,10 @@ public class VirtualHost implements Accessable public void close() throws Exception { + if (_houseKeepingTimer != null) + { + _houseKeepingTimer.cancel(); + } if (_messageStore != null) { _messageStore.close(); |