james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1067914 - /james/mailbox-integration-tester/trunk/src/main/java/org/apache/james/imap/tester/ImapHostSystem.java
Date Mon, 07 Feb 2011 11:16:50 GMT
Author: norman
Date: Mon Feb  7 11:16:49 2011
New Revision: 1067914

URL: http://svn.apache.org/viewvc?rev=1067914&view=rev
Log:
Make sure we cleanup the ImapSession after processing

Modified:
    james/mailbox-integration-tester/trunk/src/main/java/org/apache/james/imap/tester/ImapHostSystem.java

Modified: james/mailbox-integration-tester/trunk/src/main/java/org/apache/james/imap/tester/ImapHostSystem.java
URL: http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/main/java/org/apache/james/imap/tester/ImapHostSystem.java?rev=1067914&r1=1067913&r2=1067914&view=diff
==============================================================================
--- james/mailbox-integration-tester/trunk/src/main/java/org/apache/james/imap/tester/ImapHostSystem.java
(original)
+++ james/mailbox-integration-tester/trunk/src/main/java/org/apache/james/imap/tester/ImapHostSystem.java
Mon Feb  7 11:16:49 2011
@@ -132,6 +132,7 @@ public abstract class ImapHostSystem imp
         }
 
         public void stop() throws Exception {
+            session.deselect();
         }
 
         public void writeLine(String line) throws Exception {
@@ -142,6 +143,7 @@ public abstract class ImapHostSystem imp
         public void forceConnectionClose(String byeMessage) {
             try {
                 out.write(byeMessage);
+                session.deselect();
             } catch (IOException e) {
                 throw new RuntimeException(e);
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message