Home GnuPG
Diffusion GpgOL 1362563c9370

Fix DllCanUnloadNow behavior
1362563c9370Unpublished

Unpublished Commit · Learn More

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

Description

Fix DllCanUnloadNow behavior

* src/gpgoladdin.cpp (DllCanUnloadNow): Only return OK if the addin
is not connected.

The addinlocks variable made no sense to use for this. Now we just
check if we are connected or not. When we are not connected no
callbacks are used and it is safe to unload gpgol. Otherwise
we can't be safely unloaded.

Details

Provenance
aheineckeAuthored on Nov 19 2015, 5:42 PM
Parents
rO36547fa3ff1c: Remove unused include
Branches
Unknown
Tags
Unknown