diff --git a/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPProtocol.cpp b/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPProtocol.cpp index 6a2e80c2fe..2af060538f 100644 --- a/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPProtocol.cpp +++ b/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPProtocol.cpp @@ -38,15 +38,6 @@ IMAPProtocol::IMAPProtocol(const BMailAccountSettings& settings) IMAPProtocol::~IMAPProtocol() { - MutexLocker locker(fWorkerLock); - for (int32 i = 0; i < fWorkers.CountItems(); i++) - fWorkers.ItemAt(i)->Quit(); - int tries = 10; - while (fWorkers.CountItems() > 0 && --tries > 0) { - locker.Unlock(); - snooze(500000); - locker.Lock(); - } }