diff options
Diffstat (limited to 'src/async/imap/MCIMAPAsyncConnection.cc')
-rwxr-xr-x | src/async/imap/MCIMAPAsyncConnection.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/async/imap/MCIMAPAsyncConnection.cc b/src/async/imap/MCIMAPAsyncConnection.cc index 266a120f..04d3a93c 100755 --- a/src/async/imap/MCIMAPAsyncConnection.cc +++ b/src/async/imap/MCIMAPAsyncConnection.cc @@ -552,6 +552,11 @@ unsigned int IMAPAsyncConnection::operationsCount() return mQueue->count(); } +void IMAPAsyncConnection::cancelAllOperations() +{ + mQueue->cancelAllOperations(); +} + void IMAPAsyncConnection::runOperation(IMAPOperation * operation) { if (mScheduledAutomaticDisconnect) { |