]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix deadlock handling subscribe req during res_parking reload
authorGiuseppe Sucameli <sucameli@netresults.it>
Tue, 20 Nov 2018 00:44:23 +0000 (01:44 +0100)
committerJoshua C. Colp <jcolp@digium.com>
Mon, 28 Jan 2019 11:27:33 +0000 (05:27 -0600)
commita618d20ca42ecf5ed462e8552bb903ab3633de57
tree45adf83203438f32dbfe28293d9a4704e0e9139f
parente456600575691b3c85990844da27a6e29e89175b
Fix deadlock handling subscribe req during res_parking reload

Split destroy_hint method to separate hint removal and extension hint
state changed callback, the latter now called via stasis.
This avoids deadlock between res_parking reload that is removing the
parking lot and the related hint and subscribe requests coming for the
same parking lot.

ASTERISK-28173

Change-Id: I5b03c3455b3b12b6f83cea4cc34f4b4b20444f7e
main/pbx.c