aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgCoreInit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/GpgCoreInit.cpp')
-rw-r--r--src/core/GpgCoreInit.cpp10
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;
}