Skip to content

Commit

Permalink
lib: monkey: upgrade to v1.7.3 (fluent#8363)
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper authored and ahspw committed Jan 16, 2024
1 parent da1e006 commit d2001ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/monkey/mk_server/mk_http_thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,14 @@ int mk_http_thread_purge(struct mk_http_thread *mth, int close)
int mk_http_thread_destroy(struct mk_http_thread *mth)
{
struct mk_thread *th;
struct mk_http_libco_params *libco_params;

libco_params = MK_TLS_GET(mk_http_thread_libco_params);

if (libco_params != NULL) {
mk_mem_free(libco_params);
MK_TLS_SET(mk_http_thread_libco_params, NULL);
}

/* Unlink from scheduler thread list */
mk_list_del(&mth->_head);
Expand Down

0 comments on commit d2001ba

Please sign in to comment.