Initialize the message type before the topic
authorMatthew Jordan <mjordan@digium.com>
Mon, 27 May 2013 00:06:40 +0000 (00:06 +0000)
committerMatthew Jordan <mjordan@digium.com>
Mon, 27 May 2013 00:06:40 +0000 (00:06 +0000)
commita0f6d1848bd42e7379b46c7952460f1711e4d0fb
treeeead724a7aaf999aa2220731a6709fbbfcc1248a
parent9e35096623951be99de2361164f1621f4e17837c
Initialize the message type before the topic

Caching topics will during initialization attempt to reference
their message type. The message type therefore has to be
initialized prior to the topic to prevent the dreaded assertion.

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