diff options
author | saturneric <[email protected]> | 2023-12-16 05:12:25 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-16 05:12:25 +0000 |
commit | c41074792f8c3b966b6d637c9e9b0ee10c5255e7 (patch) | |
tree | a20f44b3f275f69d0185a0dcf926082721db3220 /src/core/module/ModuleManager.cpp | |
parent | fix: slove threading and memory issues (diff) | |
download | GpgFrontend-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.cpp | 2 |
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; |