diff options
author | saturneric <[email protected]> | 2025-04-18 20:13:31 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-04-18 20:13:31 +0000 |
commit | 46321c6db1ec2bccdbbc19638584a3dd63cbb49b (patch) | |
tree | ba9ca11bfa2af580978738f26b62cb0ca88d662d /src/core/GpgCoreInit.cpp | |
parent | Merge branch 'develop' (diff) | |
download | GpgFrontend-46321c6db1ec2bccdbbc19638584a3dd63cbb49b.tar.gz GpgFrontend-46321c6db1ec2bccdbbc19638584a3dd63cbb49b.zip |
fix: make sure gpg-agent is running after init
Diffstat (limited to 'src/core/GpgCoreInit.cpp')
-rw-r--r-- | src/core/GpgCoreInit.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/GpgCoreInit.cpp b/src/core/GpgCoreInit.cpp index 561c3e24..e556cad4 100644 --- a/src/core/GpgCoreInit.cpp +++ b/src/core/GpgCoreInit.cpp @@ -695,16 +695,6 @@ auto InitGpgFrontendCore(CoreInitArgs args) -> int { .GetTaskRunner(Thread::TaskRunnerGetter::kTaskRunnerType_Default) ->PostTask(task); - const auto size = GpgContext::GetAllChannelId().size(); - for (auto i = 0; i < size; i++) { - if (!args.unit_test_mode && restart_all_gnupg_components_on_start) { - assert(GpgAdvancedOperator::GetInstance().RestartGpgComponents()); - } else { - // ensure gpg-agent is running - assert(GpgAdvancedOperator::GetInstance().LaunchAllGpgComponents()); - } - } - return 0; } |