mirror of
https://github.com/xuhuisheng/lemon.git
synced 2026-10-17 05:21:07 +08:00
避免close报错
This commit is contained in:
@@ -205,8 +205,10 @@ public class JavamailService {
|
||||
}
|
||||
}
|
||||
|
||||
// 关闭资源
|
||||
folder.close(false);
|
||||
if (folder.isOpen()) {
|
||||
// 关闭资源
|
||||
folder.close(false);
|
||||
}
|
||||
}
|
||||
|
||||
public void receiveMessageByFolder(Folder folder,
|
||||
|
||||
Reference in New Issue
Block a user