Ensure Shutdown AMI event is still fired during Asterisk shutdown
authorMatthew Jordan <mjordan@digium.com>
Tue, 2 Oct 2012 21:26:27 +0000 (21:26 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 2 Oct 2012 21:26:27 +0000 (21:26 +0000)
Richard pointed out that having the manager dispose of itself gracefully
during shutdown meant that the Shutdown event will no longer get fired.
This patch moves the AMI event just prior to running the atexit callbacks.
........

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

Merged revisions 374231 from http://svn.asterisk.org/svn/asterisk/branches/10
........

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

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


No differences found