]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_outbound_publish: Won't unload if condition wait times out 52/2752/2
authorKevin Harwell <kharwell@digium.com>
Tue, 3 May 2016 20:39:32 +0000 (15:39 -0500)
committerKevin Harwell <kharwell@digium.com>
Thu, 5 May 2016 21:41:50 +0000 (16:41 -0500)
commit3b0ce5169d123312e4b4ac5a65b23325a59ba2a7
tree29a4bcaeb02a3832b72e74c2c9481f41d5a495f2
parent41fccbfeb19a2e96596fe867a3cd94397f307ba4
res_pjsip_outbound_publish: Won't unload if condition wait times out

When res_pjsip_outbound_publish unloads it has to wait for all current
publishing objects to get done. However if the wait condition times out
then it does not fail the unload. This sometimes results in an infinite
loop check while unloading. This patch now fails the unload operation if
the condition times out.

Change-Id: Id57b8cbed9d61222690fcba1e4f18e259df4c7ec
res/res_pjsip_outbound_publish.c