From f686f2f564de82b143af0bbfabe3403e15ced998 Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Wed, 9 Mar 2011 22:18:27 +0000 Subject: [PATCH] Cleanup the ongoing commands when disconnect otherwise we wait for them forever the next time. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40891 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../mail_daemon/inbound_protocols/imap/imap_lib/IMAPProtocol.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/IMAPProtocol.cpp b/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/IMAPProtocol.cpp index b66886e465..79b512f986 100644 --- a/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/IMAPProtocol.cpp +++ b/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/IMAPProtocol.cpp @@ -414,6 +414,7 @@ IMAPProtocol::_ProcessCommandWithoutAfterQuake(const char* command, status_t IMAPProtocol::_Disconnect() { + fOngoingCommands.clear(); fIsConnected = false; return fOwnServerConnection.Disconnect(); }