Skip to content
Permalink
Browse files
Fixed TRANSPORTS-33.
  • Loading branch information
Sagara Gunathunga committed Mar 6, 2012
1 parent ef00f70 commit 14d5e3888fbbb31c4d8af3a66ce5f4e8ecd1b1a3
Showing 1 changed file with 11 additions and 0 deletions.
@@ -502,4 +502,15 @@ private String sendMail(MailOutTransportInfo outInfo, MessageContext msgContext)
}
return message.getMessageID();
}

@Override
public void stop() {
super.stop();
metrics.reset();
smtpUsername = null;
smtpPassword = null;
smtpBccAddresses = null;
smtpFromAddress = null;
session = null;
}
}

0 comments on commit 14d5e38

Please sign in to comment.