]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_transport_management: Allow unload to occur. 48/2648/1
authorJoshua Colp <jcolp@digium.com>
Mon, 18 Apr 2016 18:41:34 +0000 (15:41 -0300)
committerJoshua Colp <jcolp@digium.com>
Mon, 18 Apr 2016 23:29:03 +0000 (18:29 -0500)
commit4caa57f6b308503c283cf8a283fb9517a91c2fa9
treeffadcbf3727dc0a06037baa0897fce87115a1058
parent0b35582bbbee929455db927060146a429bb6f759
res_pjsip_transport_management: Allow unload to occur.

At shutdown it is possible for modules to be unloaded that wouldn't
normally be unloaded. This allows the environment to be cleaned up.

The res_pjsip_transport_management module did not have the unload
logic in it to clean itself up causing the res_pjsip module to not
get unloaded. As a result the res_pjsip monitor thread kept going
processing traffic and timers when it shouldn't.

Change-Id: Ic8cadee131e3b2c436a81d3ae8bb5775999ae00a
res/res_pjsip_transport_management.c