]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Ensure Shutdown AMI event is still fired during Asterisk shutdown
authorMatthew Jordan <mjordan@digium.com>
Tue, 2 Oct 2012 20:54:16 +0000 (20:54 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 2 Oct 2012 20:54:16 +0000 (20:54 +0000)
commitda1af69fd331f1c1e99243ba0525e7526c9db671
tree283f211e70007fd32274c9b2221336733dad3e9b
parentc61f7e7995cb69d6572df72b3a463a58aa0f044f
Ensure Shutdown AMI event is still fired during Asterisk shutdown

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.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@374230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/asterisk.c