]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip.c: Clear scheduled immediate events on unload. 91/2391/3
authorRichard Mudgett <rmudgett@digium.com>
Fri, 11 Mar 2016 03:54:03 +0000 (21:54 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 16 Mar 2016 19:53:00 +0000 (14:53 -0500)
commit5f3225ddccb3bdf3673cec8f2d453be9ceb98029
treeb680d61527f40437ad70b4a1bc99b3b01dc17b98
parent7a74971771d9bf302cb26238996eeb3cb1df7af8
chan_sip.c: Clear scheduled immediate events on unload.

This patch is part of a series to resolve deadlocks in chan_sip.c.

The reordering of chan_sip's shutdown is to handle any immediate events
that get put onto the scheduler so resources aren't leaked.  The typical
immediate events at this time are going to be concerned with stopping
other scheduled events.

ASTERISK-25023

Change-Id: I3f6540717634f6f2e84d8531a054976f2bbb9d20
channels/chan_sip.c