Skip to content
Snippets Groups Projects
Commit d8f6a1d6 authored by Aleksei Voronin's avatar Aleksei Voronin
Browse files

[*] fixed node segfault if http client was unable to establish connection

parent 6d7a5ae1
No related branches found
No related tags found
1 merge request!50[*] fixed node segfault if http client was unable to establish connection
......@@ -264,6 +264,12 @@ int dap_events_socket_kill_socket( dap_events_socket_t *a_es )
return -1;
}
if( !a_es->dap_worker ) {
log_it( L_WARNING, "%s: socket %u have no worker thread", __PRETTY_FUNCTION__, a_es->socket );
a_es->kill_signal = true;
return 0;
}
uint32_t tn = a_es->dap_worker->number_thread;
dap_worker_t *w = a_es->dap_worker;
......
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