diff options
author | saturneric <[email protected]> | 2025-04-18 21:45:10 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-04-18 21:45:10 +0000 |
commit | a6bfc4103e3cda98b4c8ebaf279d37a8f71c2d60 (patch) | |
tree | 93ce7d77c9e61123d102d44f5d55b0d89f4a67d4 /src/init.cpp | |
parent | fix: init database path and name as soon as possible (diff) | |
download | GpgFrontend-a6bfc4103e3cda98b4c8ebaf279d37a8f71c2d60.tar.gz GpgFrontend-a6bfc4103e3cda98b4c8ebaf279d37a8f71c2d60.zip |
fix: gpg agent cannot run as daemon on windows
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index f0481152..ee19553a 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -187,7 +187,7 @@ void ShutdownGlobalBasicEnv(const GFCxtWPtr &p_ctx) { for (const auto &channel : GpgContext::GetAllChannelId()) { assert(GpgAdvancedOperator::GetInstance(channel).KillAllGpgComponents()); } - } else if (!ctx->unit_test_mode && clear_gpg_password_cache) { + } else if (clear_gpg_password_cache) { for (const auto &channel : GpgContext::GetAllChannelId()) { assert(GpgAdvancedOperator::GetInstance(channel).ClearGpgPasswordCache()); } |