Skip to content
Snippets Groups Projects
Commit 0df7811b authored by Roman Khlopkov's avatar Roman Khlopkov 🔜
Browse files

[*] Node client waiting repair

parent 33dbc62a
No related branches found
No related tags found
No related merge requests found
Pipeline #40833 passed with stage
in 19 minutes and 28 seconds
Subproject commit 0c4e700f4976945c8bd2370ca62f4e3f068a20c3 Subproject commit a26a4b0c76a953a7563c664fb2dec74f122c1aa0
...@@ -156,7 +156,11 @@ static void s_stage_connected_callback(dap_client_t *a_client, void *a_arg) ...@@ -156,7 +156,11 @@ static void s_stage_connected_callback(dap_client_t *a_client, void *a_arg)
} }
} }
} }
if(l_node_client->callbacks.connected) pthread_mutex_lock(&l_node_client->wait_mutex);
l_node_client->state = NODE_CLIENT_STATE_ESTABLISHED;
pthread_cond_signal(&l_node_client->wait_cond);
pthread_mutex_unlock(&l_node_client->wait_mutex);
if (l_node_client->callbacks.connected)
l_node_client->callbacks.connected(l_node_client, l_node_client->callbacks_arg); l_node_client->callbacks.connected(l_node_client, l_node_client->callbacks_arg);
} }
} }
......
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