mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Prevent hanging LOGOUT
This commit is contained in:
@@ -462,6 +462,8 @@ public class IMAPProtocol extends Protocol {
|
||||
*/
|
||||
public void logout() throws ProtocolException {
|
||||
try {
|
||||
if (!authenticated)
|
||||
return;
|
||||
Response[] r = command("LOGOUT", null);
|
||||
|
||||
authenticated = false;
|
||||
|
||||
Reference in New Issue
Block a user