diff options
author | Joshua Colp <jcolp@digium.com> | 2015-01-27 11:47:02 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2015-01-27 11:47:02 +0000 |
commit | ceedd4037029fe8d61cccbdcbbd42ee1993c5e6f (patch) | |
tree | e70ce1b568e26c53aba0c2b21eb1f96ddfd6b4c3 /apps/confbridge/conf_config_parser.c | |
parent | 702d79de2a2341954ef599f4c5a4c5f31c1b5edc (diff) |
res_parking: Fix crash due to race condition when unloading.
There is currently a race condition when unloading the res_parking
module. Depending on the will of the universe the subscription
invocation may occur AFTER the module is unloaded. This is because
the module does NOT use stasis_unsubscribe_and_join when terminating
the subscription. It merely uses stasis_unsubscribe.
This change makes it use stasis_unsubscribe_and_join which is documented
for usage in this exact scenario.
AST-1520 #close
Review: https://reviewboard.asterisk.org/r/4375/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@431114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/confbridge/conf_config_parser.c')
0 files changed, 0 insertions, 0 deletions