You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ri...@apache.org on 2008/03/17 18:46:56 UTC
svn commit: r637991 -
/incubator/qpid/branches/M2.1/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java
Author: ritchiem
Date: Mon Mar 17 10:46:54 2008
New Revision: 637991
URL: http://svn.apache.org/viewvc?rev=637991&view=rev
Log:
QPID-858 : Added cancel to the housekeeping thread when the vhost is closed.
Modified:
incubator/qpid/branches/M2.1/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java
Modified: incubator/qpid/branches/M2.1/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/M2.1/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java?rev=637991&r1=637990&r2=637991&view=diff
==============================================================================
--- incubator/qpid/branches/M2.1/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java (original)
+++ incubator/qpid/branches/M2.1/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java Mon Mar 17 10:46:54 2008
@@ -286,6 +286,10 @@
public void close() throws Exception
{
+ if (_houseKeepingTimer != null)
+ {
+ _houseKeepingTimer.cancel();
+ }
if (_messageStore != null)
{
_messageStore.close();