diff options
Diffstat (limited to 'src/async/pop')
-rw-r--r-- | src/async/pop/MCPOPAsyncSession.h | 1 | ||||
-rw-r--r-- | src/async/pop/MCPOPDeleteMessagesOperation.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/async/pop/MCPOPAsyncSession.h b/src/async/pop/MCPOPAsyncSession.h index fe713c4e..606a277d 100644 --- a/src/async/pop/MCPOPAsyncSession.h +++ b/src/async/pop/MCPOPAsyncSession.h @@ -59,6 +59,7 @@ namespace mailcore { virtual POPFetchMessageOperation * fetchMessage(unsigned int index); + // Will disconnect. virtual POPOperation * deleteMessages(Array * indexes); // private diff --git a/src/async/pop/MCPOPDeleteMessagesOperation.cc b/src/async/pop/MCPOPDeleteMessagesOperation.cc index b655ab59..d96789f8 100644 --- a/src/async/pop/MCPOPDeleteMessagesOperation.cc +++ b/src/async/pop/MCPOPDeleteMessagesOperation.cc @@ -47,5 +47,6 @@ void POPDeleteMessagesOperation::main() return; } } + session()->session()->disconnect(); } |