From f2b91c024f72e7f566e307def8c4e1575a0af3e5 Mon Sep 17 00:00:00 2001 From: Dmitry Isaikin Date: Mon, 29 Feb 2016 19:44:55 +0300 Subject: Close IMAP connection in case of parsing error --- src/async/imap/MCIMAPOperation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/async') diff --git a/src/async/imap/MCIMAPOperation.cpp b/src/async/imap/MCIMAPOperation.cpp index 9ab30ab0..724c8215 100644 --- a/src/async/imap/MCIMAPOperation.cpp +++ b/src/async/imap/MCIMAPOperation.cpp @@ -110,7 +110,7 @@ void IMAPOperation::start() IMAPAsyncConnection * connection = mMainSession->sessionForFolder(mFolder, mUrgent); setSession(connection); } - mSession->runOperation(this); + session()->runOperation(this); } struct progressContext { -- cgit v1.2.3