aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/module/ModuleManager.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-18 12:54:02 +0000
committersaturneric <[email protected]>2023-10-18 12:54:02 +0000
commit76fda183d4c1067ab1735965e9bde3c7b29d1345 (patch)
tree54723eb8698dfe6f7e5dbc4c16b9da16e192d44b /src/core/module/ModuleManager.cpp
parentfix: improve thread and module relation (diff)
downloadGpgFrontend-76fda183d4c1067ab1735965e9bde3c7b29d1345.tar.gz
GpgFrontend-76fda183d4c1067ab1735965e9bde3c7b29d1345.zip
feat: simplify the thread system and improve its stability
Diffstat (limited to 'src/core/module/ModuleManager.cpp')
-rw-r--r--src/core/module/ModuleManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/module/ModuleManager.cpp b/src/core/module/ModuleManager.cpp
index dc31072b..b9e73721 100644
--- a/src/core/module/ModuleManager.cpp
+++ b/src/core/module/ModuleManager.cpp
@@ -41,7 +41,7 @@ class ModuleManager::Impl {
Impl()
: task_runner_(std::make_shared<Thread::TaskRunner>()),
gpc_(std::make_shared<GlobalModuleContext>(task_runner_)) {
- task_runner_->start();
+ task_runner_->Start();
}
void RegisterModule(ModulePtr module) {