From 993b2330cb964788573f69a12cea4310dafe7f4a Mon Sep 17 00:00:00 2001 From: "oljas.jarasbaev" <oljas.jarasbaev@demlabs.net> Date: Mon, 24 Jun 2024 07:41:44 +0000 Subject: [PATCH] Bugfix 11836 --- modules/net/dap_chain_node_cli_cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/net/dap_chain_node_cli_cmd.c b/modules/net/dap_chain_node_cli_cmd.c index 0c9c913087..38644484c0 100644 --- a/modules/net/dap_chain_node_cli_cmd.c +++ b/modules/net/dap_chain_node_cli_cmd.c @@ -1220,11 +1220,12 @@ int com_node(int a_argc, char ** a_argv, void **a_str_reply) if (res) { dap_cli_server_cmd_set_reply_text(a_str_reply, "No response from node"); // clean client struct - dap_chain_node_client_close_mt(l_client); + dap_chain_node_client_close_unsafe(l_client); DAP_DELETE(node_info); return -8; } DAP_DELETE(node_info); + dap_chain_node_client_close_unsafe(l_client); dap_cli_server_cmd_set_reply_text(a_str_reply, "Connection established"); } break; -- GitLab