Skip to content

Commit

Permalink
Cleanup thread resources when janus_lua_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 0d1da91 commit 3b96ad8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/janus_lua.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ static void *janus_lua_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 3b96ad8

Please sign in to comment.