y_socket: allow sending sock even if workers will stop

This commit is contained in:
2025-10-16 22:39:28 +02:00
parent 1debd9dc95
commit 61a67f96d3
+1 -1
View File
@@ -525,7 +525,7 @@ void *y_socket_poll_fds(void *arg){
#endif
if(check_y_socket_go_on(argSock) && strncmp(cmd, "sendto", 6)==0){
if(/*check_y_socket_go_on(argSock) &&*/ strncmp(cmd, "sendto", 6)==0){
printf("debug : sendto match, dst_addr=[%s]\n", dst_addr);
if(strcmp(dst_addr, "all" ) == 0){
struct arg_send_file *argS = malloc(sizeof(struct arg_send_file));