[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Bug 86244] KMail crashes when klicking the check mail button
From:       Till Adam <adam () kde ! org>
Date:       2004-08-01 10:04:41
Message-ID: 20040801100441.31469.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=86244      
adam kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From adam kde org  2004-08-01 12:04 -------
CVS commit by tilladam: 

Make sure the mail check progress item of a folder is removed before the 
end of the mail check is signaled, otherwise things are not reentrant and
can crash with multiple mail checks in rapid succession.

CCMAIL: 86244-done bugs kde org


  M +1 -1      kmfolderimap.cpp   1.228


--- kdepim/kmail/kmfolderimap.cpp  #1.227:1.228
 @ -1697,4 +1697,5  @ void KMFolderImap::slotStatResult(KIO::J
   if ( it == mAccount->jobsEnd() ) return;
   mAccount->removeJob(it);
+  slotCompleteMailCheckProgress();
   if (job->error())
   {
 @ -1718,5 +1719,4  @ void KMFolderImap::slotStatResult(KIO::J
     emit numUnreadMsgsChanged( folder() );
   }
-  slotCompleteMailCheckProgress();
 }
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic