Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: monkey: upgrade to v1.7.3 #8363

Merged
merged 1 commit into from Jan 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions lib/monkey/mk_server/mk_http_thread.c
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