res_rtp_asterisk: Ensure that the thread terminating pj stuff is registered.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@423253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
changes/61/61/1
Joshua Colp 12 years ago
parent 38885ac8bd
commit 0ea0c38600

@ -5148,6 +5148,8 @@ static int reload_module(void)
#ifdef USE_PJPROJECT
static void rtp_terminate_pjproject(void)
{
pj_thread_register_check();
if (timer_thread) {
timer_terminate = 1;
pj_thread_join(timer_thread);

Loading…
Cancel
Save