Diffusion GpgOL 907943aec81b

Try to fix crashes in MAPI SubmitMessage path

Authored by aheinecke on Sep 6 2018, 5:21 PM.

Description

Try to fix crashes in MAPI SubmitMessage path

* src/windowmessages.cpp (gpgol_window_proc): Close inspector
before closing the mail.

This is purely experimental programming. The SubmitMessage paths
both lead to random crashes. So I tried around what might
be the cause and found this. Let's hope it is not just luck
that it currently does not crash for me.