Review Board 1.7.16


loader/main: Don't set ast_fully_booted until deferred reloads are processed

Review Request #4604 - Created April 8, 2015 and submitted

George Joseph
13
Reviewers
asterisk-dev
coreyfarrell
Asterisk
Until we have a true module management facility it's sometimes necessary for one module to force a reload on another before its own load is complete.  If Asterisk isn't fully booted yet, these reloads are deferred.  The problem is that asterisk reports fully booted before processing the deferred reloads which means Asterisk really isn't quite ready when it says it is.

This patch moves the report of fully booted after the processing of the deferred reloads is complete.
Since the pjsip stack has the most number of related modules, I ran the channels/pjsip testsuite to make sure there aren't any issues.  All tests passed.

Review request changed
Updated (April 9, 2015, 6:23 p.m.)
  • changed from pending to submitted
Committed in revision 434562

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.