aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgCoreInit.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-15 13:14:17 +0000
committersaturneric <[email protected]>2023-12-15 13:14:17 +0000
commitf9a49043c35e73fc2d4ffb3ed9b39c33849c43b3 (patch)
tree7e03b0b62119ff5d5dcd732ec1ccb7d2296df86d /src/core/GpgCoreInit.cpp
parentfix: slove some issues on memory and intilizations (diff)
downloadGpgFrontend-f9a49043c35e73fc2d4ffb3ed9b39c33849c43b3.tar.gz
GpgFrontend-f9a49043c35e73fc2d4ffb3ed9b39c33849c43b3.zip
fix: slove threading and memory issues
Diffstat (limited to 'src/core/GpgCoreInit.cpp')
-rw-r--r--src/core/GpgCoreInit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/GpgCoreInit.cpp b/src/core/GpgCoreInit.cpp
index 2b2bc5be..7088e0e1 100644
--- a/src/core/GpgCoreInit.cpp
+++ b/src/core/GpgCoreInit.cpp
@@ -232,7 +232,7 @@ void InitGpgFrontendCore(CoreInitArgs args) {
// start the thread to check ctx and gnupg state
// it may take a few seconds or minutes
GpgFrontend::Thread::TaskRunnerGetter::GetInstance()
- .GetTaskRunner()
+ .GetTaskRunner(Thread::TaskRunnerGetter::kTaskRunnerType_Default)
->PostTask(new Thread::Task(
[args](const DataObjectPtr&) -> int {
// read settings from config file