aboutsummaryrefslogtreecommitdiffstats
path: root/src/before_exit.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-13 03:01:08 +0000
committerSaturneric <[email protected]>2022-01-13 03:48:10 +0000
commit90c07542e859b741b100fcb0cc5c081e1e8b2c14 (patch)
tree819726dbf7cfa9dfa78b121df6d7407d890bfe12 /src/before_exit.cpp
parent<chore>(project, resource, ci): fix ci of debug.yml (diff)
downloadGpgFrontend-90c07542e859b741b100fcb0cc5c081e1e8b2c14.tar.gz
GpgFrontend-90c07542e859b741b100fcb0cc5c081e1e8b2c14.zip
<chore>(project, resource, ci): fix ci of debug.yml & release.yml
1. Adjust the ci configuration file for Linux, macOS and Windows. 2. Fixed the problem of OpenSSL under macOS. 3. Use atexit instead of on_exit to solve macOS compatibility issues.
Diffstat (limited to '')
-rw-r--r--src/before_exit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/before_exit.cpp b/src/before_exit.cpp
index 53878758..074db049 100644
--- a/src/before_exit.cpp
+++ b/src/before_exit.cpp
@@ -24,7 +24,7 @@
#include "ui/settings/GlobalSettingStation.h"
-void before_exit(int status, void *arg) {
- LOG(INFO) << "called exit status" << status;
+void before_exit() {
+ LOG(INFO) << "called";
GpgFrontend::UI::GlobalSettingStation::GetInstance().ResetRootCerts();
}