aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/thread/TaskRunnerGetter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/thread/TaskRunnerGetter.cpp')
-rw-r--r--src/core/thread/TaskRunnerGetter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/thread/TaskRunnerGetter.cpp b/src/core/thread/TaskRunnerGetter.cpp
index 2e4de859..639a142c 100644
--- a/src/core/thread/TaskRunnerGetter.cpp
+++ b/src/core/thread/TaskRunnerGetter.cpp
@@ -42,7 +42,7 @@ TaskRunnerPtr GpgFrontend::Thread::TaskRunnerGetter::GetTaskRunner(
if (it != task_runners_.end()) {
return it->second;
} else {
- auto runner = std::make_shared<TaskRunner>();
+ auto runner = GpgFrontend::SecureCreateSharedObject<TaskRunner>();
task_runners_[runner_type] = runner;
runner->Start();
continue;