diff --git a/CMakeLists.txt b/CMakeLists.txt index c098e430b8e584bbb36cbe6e1c200aa392820391..d2d7b367aa5c10f790d1e2be3a6dd64473840532 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 4) -SET( CPACK_PACKAGE_VERSION_PATCH 31) +SET( CPACK_PACKAGE_VERSION_PATCH 32) # init CellFrame SDK add_definitions("-DDAP_VERSION=\"${CPACK_PACKAGE_VERSION_MAJOR}-${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}\"") diff --git a/cellframe-sdk b/cellframe-sdk index a27db464f08e151be031ff805d030bbf969fc26d..b2f326f6545836621bef1ecb425e6cfb13be721f 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit a27db464f08e151be031ff805d030bbf969fc26d +Subproject commit b2f326f6545836621bef1ecb425e6cfb13be721f diff --git a/sources/main.c b/sources/main.c index f3494df7ede26c2102e8339e00a2be2b37071ff6..5e7e3e54fb58d5741ab80a827d3264c1d588549f 100755 --- a/sources/main.c +++ b/sources/main.c @@ -514,13 +514,13 @@ int main( int argc, const char **argv ) dap_chain_net_srv_xchange_deinit(); dap_chain_net_srv_stake_deinit(); dap_chain_net_deinit(); - #ifdef DAP_MODULES_DYNAMIC dap_modules_dynamic_close_cdb(); #endif dap_chain_global_db_deinit(); dap_chain_deinit(); dap_config_close( g_config ); + dap_interval_timer_deinit(); dap_common_deinit(); return rc * 10; diff --git a/sources/sig_unix_handler.c b/sources/sig_unix_handler.c index 3a220b01a29a85bafe5ebf3656206b88dae72f19..4da9d90186b1b5735999ffdbedc5e1b2b9229548 100644 --- a/sources/sig_unix_handler.c +++ b/sources/sig_unix_handler.c @@ -23,6 +23,8 @@ #define LOG_TAG "sig_unix_handler" +void dap_chain_plugins_deinit(); + static const char *s_pid_path = NULL; static void clear_pid_file() { @@ -38,7 +40,7 @@ static void sig_exit_handler(int sig_code) { clear_pid_file(); - #ifdef DAP_SUPPORT_PYTHON_PLUGINS +#ifdef DAP_SUPPORT_PYTHON_PLUGINS dap_chain_plugins_deinit(); #endif dap_chain_node_mempool_autoproc_deinit(); @@ -60,6 +62,7 @@ static void sig_exit_handler(int sig_code) { dap_events_stop_all(); dap_events_deinit(); dap_config_close( g_config ); + dap_interval_timer_deinit(); dap_common_deinit(); log_it(L_NOTICE,"Stopped Cellframe Node");