]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Create work around for scheduler leaks during shutdown.
authorCorey Farrell <git@cfware.com>
Thu, 19 Feb 2015 01:59:05 +0000 (01:59 +0000)
committerCorey Farrell <git@cfware.com>
Thu, 19 Feb 2015 01:59:05 +0000 (01:59 +0000)
commitf8254210de32c50aebc6987e750ff1c788924c23
tree5484222ca2495151670ef12b82749b72666a976e
parenta1ed030c5cc1b4f0e0b66f5906a2e8b4741350ef
Create work around for scheduler leaks during shutdown.

* Added ast_sched_clean_by_callback for cleanup of scheduled events
  that have not yet fired.
* Run all pending peercnt_remove_cb and replace_callno events in chan_iax2.
  Cleanup of replace_callno events is only run 11, since it no longer
  releases any references or allocations in 13+.

ASTERISK-24451 #close
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4425/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@431916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_iax2.c
include/asterisk/sched.h
main/sched.c