]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_outbound_registration.c: Reorder load_module() and unload_module(). 86/686/3
authorRichard Mudgett <rmudgett@digium.com>
Mon, 15 Jun 2015 18:38:58 +0000 (13:38 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 25 Jun 2015 16:33:41 +0000 (11:33 -0500)
commit4313f32969bc727d667712bba574d7eb875e5b05
tree7c26ffb7a68e1e43180a93a6a82a28de17d4d94d
parentdb0521f905ad6f2624990f8476522c6778c18725
res_pjsip_outbound_registration.c: Reorder load_module() and unload_module().

It is best if the loading code creates and initializes the module's
infrastructure before letting the system know of its existence.  The
unloading code needs to reverse the actions of the loading code and in the
reverse order.

ASTERISK-24907
Reported by: Kevin Harwell

Change-Id: I5d151383e9787b5b60aa5e1627b10f040acdded4
res/res_pjsip_outbound_registration.c