Skip to content

Commit

Permalink
libtrap - fix sending thread cleanup on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
SiskaPavel committed Sep 16, 2024
1 parent 9a39713 commit c117734
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions libtrap/src/ifc_tcpip.c
Original file line number Diff line number Diff line change
Expand Up @@ -1213,8 +1213,6 @@ send_blocking_mode(void *arg)
__sync_add_and_fetch(&cl->container_id, 1);
}

pthread_exit(NULL);

cleanup:
disconnect_client(c, cl);
free(arg);
Expand Down Expand Up @@ -1314,8 +1312,6 @@ send_non_blocking_mode(void *arg)
}
}

pthread_exit(NULL);

cleanup:
disconnect_client(c, cl);
free(arg);
Expand Down
4 changes: 0 additions & 4 deletions libtrap/src/ifc_tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -1351,8 +1351,6 @@ send_blocking_mode(void *arg)
__sync_add_and_fetch(&cl->container_id, 1);
}

pthread_exit(NULL);

cleanup:
disconnect_client(c, cl);
free(arg);
Expand Down Expand Up @@ -1449,8 +1447,6 @@ send_non_blocking_mode(void *arg)
}
}

pthread_exit(NULL);

cleanup:
disconnect_client(c, cl);
free(arg);
Expand Down

0 comments on commit c117734

Please sign in to comment.