Home GnuPG
Diffusion GpgOL cd8633c93a4f

Hold invalidation lock while parsing

Description

Hold invalidation lock while parsing

* src/mail.cpp (do_parsing): Hold invalidation lock.
* src/windowmessages.h: Expose invalidation lock.
* src/windowmessages.cpp: Define / initialize lock.

This should make it more robust to do the parsing without
having the mail deleted under our hands because of invalidation
wonkyness.