Skip to content

Commit 20f8f61

Browse files
committed
TEL-6675: Reacquire the mutex after reset.
1 parent b6b57c5 commit 20f8f61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/switch_jitterbuffer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ static inline switch_jb_node_t *new_node(switch_jb_t *jb)
265265
switch_mutex_unlock(jb->list_mutex);
266266
switch_mutex_unlock(jb->mutex);
267267
switch_jb_reset(jb);
268+
switch_mutex_lock(jb->mutex);
268269
return NULL;
269270
}
270271

0 commit comments

Comments
 (0)