aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/module/GlobalModuleContext.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-23 13:23:37 +0000
committersaturneric <[email protected]>2023-10-23 13:23:37 +0000
commit5a3f422335b27c6c19a2d91f525c77435e8f2384 (patch)
treea72d417cc040f07fd7e21f9bd2cc70d0de5e8bed /src/core/module/GlobalModuleContext.cpp
parentperf: reduce header includes and improve build speed (diff)
downloadGpgFrontend-5a3f422335b27c6c19a2d91f525c77435e8f2384.tar.gz
GpgFrontend-5a3f422335b27c6c19a2d91f525c77435e8f2384.zip
fix: solve some issues on log system
Diffstat (limited to 'src/core/module/GlobalModuleContext.cpp')
-rw-r--r--src/core/module/GlobalModuleContext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/module/GlobalModuleContext.cpp b/src/core/module/GlobalModuleContext.cpp
index de1e244b..919c744a 100644
--- a/src/core/module/GlobalModuleContext.cpp
+++ b/src/core/module/GlobalModuleContext.cpp
@@ -120,6 +120,7 @@ class GlobalModuleContext::Impl {
register_info.task_runner->Start();
// move module to its task runner' thread
+ register_info.module->setParent(nullptr);
register_info.module->moveToThread(register_info.task_runner->GetThread());
// Register the module with its identifier.