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
This commit is contained in:
@@ -414,6 +414,7 @@ IMAPProtocol::_ProcessCommandWithoutAfterQuake(const char* command,
|
|||||||
status_t
|
status_t
|
||||||
IMAPProtocol::_Disconnect()
|
IMAPProtocol::_Disconnect()
|
||||||
{
|
{
|
||||||
|
fOngoingCommands.clear();
|
||||||
fIsConnected = false;
|
fIsConnected = false;
|
||||||
return fOwnServerConnection.Disconnect();
|
return fOwnServerConnection.Disconnect();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user