chan_iax2: Fix stray reference to worker thread idle_list.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 5 Sep 2013 17:31:29 +0000 (17:31 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 5 Sep 2013 17:31:29 +0000 (17:31 +0000)
commit5954da694edadf0e6a21beb1ce7fec95501c1843
tree2f83a122ec7d355c724ac5bcd99b1088abd069a7
parentbdb0121769a47b1e8e2f043679746dc017e7068b
chan_iax2: Fix stray reference to worker thread idle_list.

* Fix stray reference to idle_list in cleanup_thread_list().  This may be
the reason for the note in iax2_process_thread() about threads not being
removed from the task lists.

* Move cleanup_thread_list(&idle_list) to after the other lists are
cleaned up.
........

Merged revisions 398416 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 398417 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 398418 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@398419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_iax2.c