Fix a bug where we tried to send events out when no sessions container was present.
authorJoshua Colp <jcolp@digium.com>
Mon, 27 Apr 2009 15:18:47 +0000 (15:18 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 27 Apr 2009 15:18:47 +0000 (15:18 +0000)
commit68a9f7aca14dbdade7e53c22f0889228d06c24e6
treeed2597f7f6668028856ac73adc4daac0c32b27ec
parent3b68be6aaa9300c6c9f9836ebef73dfc90dba3bd
Fix a bug where we tried to send events out when no sessions container was present.

This commit stops a warning message (user_data is NULL) from getting output when
manager events get sent before manager is initialized. This happens because manager
is initialized *after* modules are loaded and the act of loading modules triggers
manager events.

(issue #14974)
Reported by: pj

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