mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Close connection on boundary end
This commit is contained in:
@@ -674,6 +674,10 @@ public class EmailService implements AutoCloseable {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean isOpen() {
|
||||
return (iservice != null && iservice.isConnected());
|
||||
}
|
||||
|
||||
public void close() throws MessagingException {
|
||||
try {
|
||||
if (iservice != null && iservice.isConnected())
|
||||
|
||||
Reference in New Issue
Block a user