Skip to content

Commit

Permalink
Cleanup thread resources when janus_duktape_async_event_helper ends
Browse files Browse the repository at this point in the history
  • Loading branch information
atoppi committed Jul 24, 2024
1 parent 3b96ad8 commit f13f586
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/janus_duktape.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ static void *janus_duktape_async_event_helper(void *data) {
g_free(asev->transaction);
janus_refcount_decrease(&asev->session->ref);
g_free(asev);
g_thread_unref(g_thread_self());
return NULL;
}

Expand Down

0 comments on commit f13f586

Please sign in to comment.