aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/pop
diff options
context:
space:
mode:
authorGravatar DINH Viet Hoa <hoa@sprw.me>2013-01-19 00:09:29 -0800
committerGravatar DINH Viet Hoa <hoa@sprw.me>2013-01-19 00:09:29 -0800
commitc363854167d3a66e77e0964c19a09cdc31f1e544 (patch)
tree2547f1be4bdbcabcc6ae58c4e35d0dad0d65a411 /src/async/pop
parenta56ff2c85bf8572e42912ce92a0ecb356f5bcd23 (diff)
pop3 progress, mime types
Diffstat (limited to 'src/async/pop')
-rw-r--r--src/async/pop/MCPOPAsyncSession.h1
-rw-r--r--src/async/pop/MCPOPDeleteMessagesOperation.cc1
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();
}