[git] GpgOL - branch, master, updated. gpgol-2.0.6-89-g4662ad2
by Andre Heinecke
cvs at cvs.gnupg.org
Wed Mar 14 12:02:13 CET 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG extension for MS Outlook".
The branch, master has been updated
via 4662ad2828cbba6f3b4c0825439ebaa3db83f6c9 (commit)
from 2f39fe219c6810b51a1b428a4618b861e2d427c1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4662ad2828cbba6f3b4c0825439ebaa3db83f6c9
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Wed Mar 14 11:16:03 2018 +0100
Further extend debugging around mail dtor
* src/mail.cpp (do_crypt): Note when ui thread is done.
* src/mailitem-events.cpp (EVENT_SINK_INVOKE): Log when deletion
is done in unload.
* src/windowmessages.cpp (gpgol_window_proc): Log when crypto
done handler is complete.
(do_async): Log invocation.
diff --git a/src/mail.cpp b/src/mail.cpp
index d4e7e10..d8a160d 100644
--- a/src/mail.cpp
+++ b/src/mail.cpp
@@ -779,6 +779,8 @@ do_crypt (LPVOID arg)
gpgrt_lock_unlock (&dtor_lock);
// This deletes the Mail in Outlook 2010
do_in_ui_thread (CRYPTO_DONE, arg);
+ log_debug ("%s:%s: UI thread finished for %p",
+ SRCNAME, __func__, arg);
}
else
{
diff --git a/src/mailitem-events.cpp b/src/mailitem-events.cpp
index 7933826..de4c274 100644
--- a/src/mailitem-events.cpp
+++ b/src/mailitem-events.cpp
@@ -611,6 +611,8 @@ EVENT_SINK_INVOKE(MailItemEvents)
log_debug ("%s:%s: Removing Mail for message: %p.",
SRCNAME, __func__, m_object);
delete m_mail;
+ log_oom_extra ("%s:%s: deletion done",
+ SRCNAME, __func__);
return S_OK;
}
case Forward:
diff --git a/src/windowmessages.cpp b/src/windowmessages.cpp
index af55d11..9d96956 100644
--- a/src/windowmessages.cpp
+++ b/src/windowmessages.cpp
@@ -153,6 +153,8 @@ gpgol_window_proc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
SRCNAME, __func__, mail);
// Allow the WKS helper to queue a notification.
WKSHelper::instance()->allow_notify ();
+ log_debug ("%s:%s: Crypto done handler completed.",
+ SRCNAME, __func__);
break;
}
case (BRING_TO_FRONT):
@@ -251,6 +253,8 @@ static DWORD WINAPI
do_async (LPVOID arg)
{
wm_ctx_t *ctx = (wm_ctx_t*) arg;
+ log_debug ("%s:%s: Do async with type %i",
+ SRCNAME, __func__, ctx ? ctx->wmsg_type : -1);
send_msg_to_ui_thread (ctx);
xfree (ctx);
return 0;
-----------------------------------------------------------------------
Summary of changes:
src/mail.cpp | 2 ++
src/mailitem-events.cpp | 2 ++
src/windowmessages.cpp | 4 ++++
3 files changed, 8 insertions(+)
hooks/post-receive
--
GnuPG extension for MS Outlook
http://git.gnupg.org
More information about the Gnupg-commits
mailing list