Home GnuPG
Diffusion GpgOL c5ed287937bb

Ugly fix for ugly crash when pasting recipients

Description

Ugly fix for ugly crash when pasting recipients

* src/mailitem-events.cpp (do_delayed_locate): Delay
a RECIPIENT_ADDED Signal.
(EVENT_SINK_INVOKE): Only trigger once per change. Invoke
delayed thread.
* src/windowmessages.cpp (gpgol_window_proc): Handle
Recipient Added signal.

This is a fix for crashes that happend if a resolved recipient
is copied and pasted.
If we then access the recipients object in the Property
Change event Outlook says no (crash). Thus we do the delay dance.

Details

Provenance
aheineckeAuthored on Nov 15 2017, 4:14 PM
Parents
rOaf005db32d2f: Lock key lookup map
Branches
Unknown
Tags
Unknown