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

[*] Deadlock fixed

parent f2ffb7f4
No related branches found
No related tags found
3 merge requests!251Master,!250Master,!187Release 2.5 version
Pipeline #4731 passed with stage
in 10 seconds
...@@ -576,6 +576,7 @@ void dap_events_socket_remove_and_delete_unsafe( dap_events_socket_t *a_es, bool ...@@ -576,6 +576,7 @@ void dap_events_socket_remove_and_delete_unsafe( dap_events_socket_t *a_es, bool
pthread_rwlock_wrlock( &a_es->events->sockets_rwlock ); pthread_rwlock_wrlock( &a_es->events->sockets_rwlock );
if(!dap_events_socket_find_unsafe(a_es->socket, a_es->events)){ if(!dap_events_socket_find_unsafe(a_es->socket, a_es->events)){
log_it( L_ERROR, "dap_events_socket 0x%x already deleted", a_es); log_it( L_ERROR, "dap_events_socket 0x%x already deleted", a_es);
pthread_rwlock_unlock( &a_es->events->sockets_rwlock );
return ; return ;
} }
......
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