You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by sa...@apache.org on 2012/03/06 12:43:35 UTC
svn commit: r1297433 -
/axis/axis2/java/transports/trunk/modules/mail/src/main/java/org/apache/axis2/transport/mail/MailTransportSender.java
Author: sagara
Date: Tue Mar 6 11:43:35 2012
New Revision: 1297433
URL: http://svn.apache.org/viewvc?rev=1297433&view=rev
Log:
Fixed TRANSPORTS-33.
Modified:
axis/axis2/java/transports/trunk/modules/mail/src/main/java/org/apache/axis2/transport/mail/MailTransportSender.java
Modified: axis/axis2/java/transports/trunk/modules/mail/src/main/java/org/apache/axis2/transport/mail/MailTransportSender.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/transports/trunk/modules/mail/src/main/java/org/apache/axis2/transport/mail/MailTransportSender.java?rev=1297433&r1=1297432&r2=1297433&view=diff
==============================================================================
--- axis/axis2/java/transports/trunk/modules/mail/src/main/java/org/apache/axis2/transport/mail/MailTransportSender.java (original)
+++ axis/axis2/java/transports/trunk/modules/mail/src/main/java/org/apache/axis2/transport/mail/MailTransportSender.java Tue Mar 6 11:43:35 2012
@@ -502,4 +502,15 @@ public class MailTransportSender extends
}
return message.getMessageID();
}
+
+ @Override
+ public void stop() {
+ super.stop();
+ metrics.reset();
+ smtpUsername = null;
+ smtpPassword = null;
+ smtpBccAddresses = null;
+ smtpFromAddress = null;
+ session = null;
+ }
}