Skip to content
Snippets Groups Projects
Commit 64193dd9 authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[*] Fixed notify server

[+] Close sqlite3 on exit
parent aef152ff
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ set(CMAKE_C_STANDARD 11)
SET( CPACK_PACKAGE_NAME "${PROJECT_NAME}")
SET( CPACK_PACKAGE_VERSION_MAJOR 4)
SET( CPACK_PACKAGE_VERSION_MINOR 3)
SET( CPACK_PACKAGE_VERSION_PATCH 35)
SET( CPACK_PACKAGE_VERSION_PATCH 36)
# init CellFrame SDK
add_definitions("-DDAP_VERSION=\"${CPACK_PACKAGE_VERSION_MAJOR}-${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}\"")
......
Subproject commit d839f8e64b12e39435608f89fc80e7c18945d97f
Subproject commit fda6c2145323f8cce05015aabd07cc41d754f4cd
......@@ -4,6 +4,7 @@
#include "dap_common.h"
#include "dap_events.h"
#include "dap_chain_global_db.h"
#include "sig_unix_handler.h"
#define LOG_TAG "sig_unix_handler"
......@@ -21,6 +22,7 @@ static void clear_pid_file() {
static void sig_exit_handler(int sig_code) {
log_it(L_DEBUG, "Got exit code: %d", sig_code);
clear_pid_file();
dap_chain_global_db_deinit();
//dap_events_stop_all();
exit(0);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment