aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/module/ModuleManager.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-16 05:12:25 +0000
committersaturneric <[email protected]>2023-12-16 05:12:25 +0000
commitc41074792f8c3b966b6d637c9e9b0ee10c5255e7 (patch)
treea20f44b3f275f69d0185a0dcf926082721db3220 /src/core/module/ModuleManager.cpp
parentfix: slove threading and memory issues (diff)
downloadGpgFrontend-c41074792f8c3b966b6d637c9e9b0ee10c5255e7.tar.gz
GpgFrontend-c41074792f8c3b966b6d637c9e9b0ee10c5255e7.zip
fix: clean up envirnoment when app exits
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 26edc43e..420bc611 100644
--- a/src/core/module/ModuleManager.cpp
+++ b/src/core/module/ModuleManager.cpp
@@ -141,7 +141,7 @@ auto ListRTChildKeys(const std::string& namespace_, const std::string& key)
ModuleManager::ModuleManager(int channel)
: SingletonFunctionObject<ModuleManager>(channel),
- p_(std::make_unique<Impl>()) {}
+ p_(SecureCreateUniqueObject<Impl>()) {}
ModuleManager::~ModuleManager() = default;