aboutsummaryrefslogtreecommitdiffstats
path: root/src/init.h
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/init.h
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/init.h')
-rw-r--r--src/init.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/init.h b/src/init.h
index 601518ab..4c744d2a 100644
--- a/src/init.h
+++ b/src/init.h
@@ -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