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