]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_transport_management: Allow unload to occur. 47/2647/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:28:45 +0000 (18:28 -0500)
commit08b8a5eea9543c6d3ccf2afc866666d782a3b277
tree8f488914e4540a9c4ca949b4c5900231a71b1a18
parent7b599be0d69ab2054e7ae3f69108137304d2beb3
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