]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_transport_management: Allow unload to occur. 38/2638/2
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 18:49:07 +0000 (15:49 -0300)
commit49bfdc9ac029e0ef17cd8e85d8d7b7731387a34e
treed91e99a959834c58d9e6a13389b684261fa83c65
parent22335fe18af85b8086899740cef436b5a59a2ae4
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