Home GnuPG
Diffusion GpgOL 8c6161788688

Use mail_map copies for all complex ops

Description

Use mail_map copies for all complex ops

* src/mail.cpp (Mail::revertAllMails_o, Mail::wipeAllMails_o),
(Mail::closeAllMails_o): Use copy of the mail map.

For any complex operation we can't hold the lock of the
map for the operation as the map might be modified / accessed
from a different thread to complete the operation.

It should not be a big problem with these functions.

Details

Provenance
aheineckeAuthored on Oct 8 2018, 3:23 PM
Parents
rOcf47f74df653: Fix deadlock when selecting encrypt
Branches
Unknown
Tags
Unknown