[jboss-cvs] JBossCache/src/org/jboss/cache ...
Manik Surtani
manik at jboss.org
Mon Jun 18 12:28:21 EDT 2007
User: msurtani
Date: 07/06/18 12:28:21
Modified: src/org/jboss/cache CacheImpl.java
Log:
close channel before disconnect + null chk
Revision Changes Path
1.95 +5 -1 JBossCache/src/org/jboss/cache/CacheImpl.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheImpl.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/CacheImpl.java,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -b -r1.94 -r1.95
--- CacheImpl.java 18 Jun 2007 16:01:32 -0000 1.94
+++ CacheImpl.java 18 Jun 2007 16:28:21 -0000 1.95
@@ -3261,8 +3261,12 @@
*/
public void killChannel()
{
+ if (channel != null)
+ {
+ channel.close();
channel.disconnect();
}
+ }
protected class MessageListenerAdaptor implements ExtendedMessageListener
{
More information about the jboss-cvs-commits
mailing list