Fix potential deadlock in autosecure check
authorAndre Heinecke <aheinecke@intevation.de>
Tue, 25 Sep 2018 13:36:58 +0000 (15:36 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Tue, 25 Sep 2018 13:36:58 +0000 (15:36 +0200)
commita20d413e04778f529f885d0ebe7adf7d7077d436
treeed6bc97a5d9fab0ff723fd29c0e7b0d27ce5836d
parent08a048b168bf5cd92c7caf34553da2a7623bfdf0
Fix potential deadlock in autosecure check

* src/mail.cpp (autosecureCheck): Do not wait for
the auto secure set to finish.

--
This fixes a race that could occur when the addressbook thread
and a locator thread were working at the same time that
could cause a deadlock in lockDelete.
src/mail.cpp