Skip to content

Commit 4a62202

Browse files
authored
Merge branch 'master' into securityapicommons
2 parents 7fed16f + fdaefe9 commit 4a62202

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gxmail/src/main/java/com/genexus/internet/SMTPSessionJavaMail.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,8 @@ public void logout(GXSMTPSession sessionInfo)
232232
{
233233
try
234234
{
235-
t.close();
235+
if (t != null)
236+
t.close();
236237
}
237238
catch (MessagingException e)
238239
{

0 commit comments

Comments
 (0)