Home GnuPG
Diffusion GpgOL 72c2ebb31d68

Ignoore WM_SYSCOMMAND / SC_CLOSE
72c2ebb31d68Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Ignoore WM_SYSCOMMAND / SC_CLOSE

* src/windowmessages.cpp (gpgol_hook): Ignore WM_SYSCOMMAND
SC_CLOSE.

I have not found a way where SC_CLOSE is sent but WM_CLOSE
is not sent. This fixes double close crashes when both WM_SYCOMMAND
and SC_CLOSE are handled but the close did not complete the
unload of the message.

Maybe we should remove our mails from the internal map as soon
as we call close.

Details

Provenance
aheineckeAuthored on Nov 17 2016, 4:57 PM
Parents
rO93f6204e256b: Improve wording in debug output for failed crypto
Branches
Unknown
Tags
Unknown