Skip to content

Commit

Permalink
Added missing pj_thread_destroy for media event manager. (#3726)
Browse files Browse the repository at this point in the history
  • Loading branch information
amubiera authored Oct 13, 2023
1 parent eaf0f45 commit f33ef2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pjmedia/src/pjmedia/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ PJ_DEF(void) pjmedia_event_mgr_destroy(pjmedia_event_mgr *mgr)
mgr->is_quitting = PJ_TRUE;
pj_sem_post(mgr->sem);
pj_thread_join(mgr->thread);
pj_thread_destroy(mgr->thread);
mgr->thread = NULL;
}

if (mgr->sem) {
Expand Down

0 comments on commit f33ef2d

Please sign in to comment.