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/init.h | |
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/init.h')
-rw-r--r-- | src/init.h | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -44,13 +44,13 @@ void HandleSignal(int sig); * * @param args */ -void InitLoggingSystem(const GFCxtSPtr&); +void InitLoggingSystem(const GFCxtSPtr &); /** * @brief initialize the logging system. * */ -void ShutdownLoggingSystem(const GFCxtSPtr&); +void ShutdownLoggingSystem(const GFCxtSPtr &); /** * @brief init global PATH env @@ -63,6 +63,13 @@ void InitGlobalPathEnv(); * * @param args */ -void InitGlobalBasicalEnv(const GFCxtWPtr&, bool); +void InitGlobalBasicalEnv(const GFCxtWPtr &, bool); + +/** + * @brief + * + * @param p_ctx + */ +void ShutdownGlobalBasicalEnv(const GFCxtWPtr &p_ctx); } // namespace GpgFrontend
\ No newline at end of file |